qtbase: build native and nativesdk with zstd enabled

rcc is using zstd to compress resources, so that needs be
enabled also in native and nativesdk builds.

Pick-to: 6.4 6.3 6.2
Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2022-07-07 15:45:36 +00:00
parent 05f4eac711
commit 812bf25183

View File

@ -31,7 +31,10 @@ DEPENDS += "\
DEPENDS:remove:class-native = "qtbase-native"
RDEPENDS_${PN}:remove:class-native = "libssl-native"
PACKAGECONFIG:class-native ?= "gui widgets png dbus no-opengl openssl"
PACKAGECONFIG:class-native ?= "\
gui widgets png dbus no-opengl openssl \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
"
PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}"
PACKAGECONFIG ?= "\
${PACKAGECONFIG_DEFAULT} \