From e413185212c68e0c3d895c0d7aff508ef297f848 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 28 Mar 2019 10:39:06 +0200 Subject: qtbase-native: add native libdir to search path After commit 521a85395, Qt uses global search paths to resolve each library path, but because we are using -no-gcc-sysroot the native libdir is not part of the search path. Add the native libdir to search path so that we don't depend on host libraries for locating zlib. Fixes "ERROR: Feature 'system-zlib' was enabled, but the pre-condition 'libs.zlib' failed." Change-Id: I25ec41ee26e7c9406ba0107a766258532b1c8d90 Reviewed-by: Mikko Gronoff --- recipes-qt/qt5/qtbase-native_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index b1243fbb..e6c6a462 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb @@ -58,6 +58,7 @@ XPLATFORM ?= "linux-oe-g++" PACKAGECONFIG_CONFARGS = " \ -sysroot ${STAGING_DIR_NATIVE} \ + -L${STAGING_LIBDIR_NATIVE} \ -no-gcc-sysroot \ -system-zlib \ -qt-pcre \ -- cgit v1.2.3-54-g00ecf