mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Add workaround for broken harfbuzz cmake config
Latest harfbuzz 6.0.0 has bad cmake config that uses absolute paths, which breaks static builds for Qt. Add workaroud that causes Qt to use pkg-config to find correct paths for libs and includes. From qtshadertools build: ninja: error: '/usr/lib/libharfbuzz.so.0.60000.0', needed by 'lib/libQt6ShaderTools.a', missing and no known rule to make it Pick-to: 6.5 6.4 Change-Id: I9f8bca0d4b9648e58c008e4064ff4f7b88f5f4f0 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
cfbcd5f4f1
commit
23feda4f5b
|
|
@ -12,6 +12,7 @@ QT_FORCE_BUILD_TOOLS ?= "OFF"
|
|||
EXTRA_OECMAKE:append:class-target = "\
|
||||
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
|
||||
-DQT_FORCE_BUILD_TOOLS=${QT_FORCE_BUILD_TOOLS} \
|
||||
-D__harfbuzz_broken_config_file=TRUE \
|
||||
"
|
||||
EXTRA_OECMAKE:append:class-nativesdk = "\
|
||||
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user