mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-16 12:12:07 +02:00
qtbase: Restrict 'tests' build to distros with 'ptest' support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
committed by
Martin Jansa
parent
0d4af49fe1
commit
cfcd40e3d0
@@ -51,8 +51,9 @@ PACKAGECONFIG_DISTRO ?= ""
|
||||
PACKAGECONFIG_RELEASE ?= "release"
|
||||
# This is in qt5.inc, because qtwebkit-examples are using it to enable ca-certificates dependency
|
||||
# PACKAGECONFIG_OPENSSL ?= "openssl"
|
||||
PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev evdev widgets tools libs freetype tests pcre \
|
||||
PACKAGECONFIG_DEFAULT ?= "accessibility dbus udev evdev widgets tools libs freetype pcre \
|
||||
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)} \
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user