mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-04 16:10:12 +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
Change-Id: I9f8bca0d4b9648e58c008e4064ff4f7b88f5f4f0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 23feda4f5b)
This commit is contained in:
parent
6a158bd064
commit
48d735ab6e
|
|
@ -11,6 +11,7 @@ EXTRA_OECMAKE += "\
|
|||
EXTRA_OECMAKE:append:class-target = "\
|
||||
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
|
||||
-DQT_FORCE_BUILD_TOOLS=ON \
|
||||
-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