qtbase: enable zstd support with openembedded layer

Enable zstd compression support by default, if meta-oe layer
is included in the build.

Pick-to: 6.0
Change-Id: I343594025c3850dd2bfd54b6a476c3dfec320c57
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2021-01-13 13:25:02 +02:00
parent 3d352e7173
commit 083d1441cb

View File

@ -49,6 +49,7 @@ PACKAGECONFIG_DISTRO ?= ""
PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev gui widgets icu openssl \
jpeg png dbus libinput fontconfig harfbuzz \
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
"
# Build type: Debug, Release, MinSizeRel, RelWithDebInfo
BUILD_TYPE ?= "Release"