grantlee: add missing indirect dependency on jscore available
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:05 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:06:18 +0000 (21:06 +0100)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/grantlee/Config.in

index 6227d7f271a964793848d962ceb1f2baca573429..01ddacdded904dbb556a8ce975609762692000be 100644 (file)
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_GRANTLEE
        bool "grantlee"
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # Qt Script
-       depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || BR2_PACKAGE_QT5
+       depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
+               (BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)
        select BR2_PACKAGE_QT_STL if BR2_PACKAGE_QT
        select BR2_PACKAGE_QT_SCRIPT if BR2_PACKAGE_QT
        select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
@@ -14,4 +15,5 @@ config BR2_PACKAGE_GRANTLEE
 
 comment "grantlee needs a toolchain with NPTL"
        depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
-       depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT || BR2_PACKAGE_QT5
+       depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
+               (BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)