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."

Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Signed-off-by: Mikko Gronoff <mikko.gronoff@qt.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Samuli Piippo
2019-03-28 10:39:06 +02:00
committed by Martin Jansa
parent adf7f60587
commit a4bf2402c1

View File

@@ -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 \