diff options
Diffstat (limited to 'recipes-qt/qt5/qtdeclarative_git.bb')
-rw-r--r-- | recipes-qt/qt5/qtdeclarative_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index 69e90570..e6173b4e 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
@@ -14,10 +14,11 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | DEPENDS += "qtbase" | 15 | DEPENDS += "qtbase" |
16 | 16 | ||
17 | PACKAGECONFIG ??= "qtxmlpatterns qml-debug qml-network" | 17 | PACKAGECONFIG ??= "qtxmlpatterns qml-debug qml-network ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}" |
18 | PACKAGECONFIG[qtxmlpatterns] = ",,qtxmlpatterns" | 18 | PACKAGECONFIG[qtxmlpatterns] = ",,qtxmlpatterns" |
19 | PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug" | 19 | PACKAGECONFIG[qml-debug] = "-qml-debug,-no-qml-debug" |
20 | PACKAGECONFIG[qml-network] = "-qml-network, -no-qml-network" | 20 | PACKAGECONFIG[qml-network] = "-qml-network, -no-qml-network" |
21 | PACKAGECONFIG[static] = ",,qtdeclarative-native" | ||
21 | 22 | ||
22 | do_configure_prepend() { | 23 | do_configure_prepend() { |
23 | # disable qtxmlpatterns test if it isn't enabled by PACKAGECONFIG | 24 | # disable qtxmlpatterns test if it isn't enabled by PACKAGECONFIG |