mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-06 22:24:36 +02:00
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:
committed by
Martin Jansa
parent
adf7f60587
commit
a4bf2402c1
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user