package/kyua: fix unmet dependencies
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 5 May 2017 19:08:26 +0000 (21:08 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 5 May 2017 19:57:36 +0000 (21:57 +0200)
lutok is a lua module, so it depends on ! static libs. However, the
dependency is implicit, being done because the lua modules are sourced
globally under an if-block, and thus it is not easy to find that
dependency.

Propagate that dependency to kyua, which was missing it (because it is
not a lua module, so was missing the dependency).

[Peter: also update toolchain comment]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/kyua/Config.in

index 4f887b0e0a247cf2e850d41f2f8b10f57ff5dae1..4fc5e098adc32c674342e7a8181e92bc6ca822ee 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_KYUA
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_PACKAGE_HAS_LUAINTERPRETER # lutok
        depends on !BR2_PACKAGE_LUAJIT # lutok
+       depends on !BR2_STATIC_LIBS # lutok
        depends on BR2_USE_MMU # atf
        select BR2_PACKAGE_ATF
        select BR2_PACKAGE_LUTOK
@@ -16,7 +17,7 @@ config BR2_PACKAGE_KYUA
 
          https://github.com/jmmv/kyua
 
-comment "kyua needs a toolchain w/ C++ and full Lua"
-       depends on !BR2_INSTALL_LIBSTDCPP || BR2_PACKAGE_LUAJIT
+comment "kyua needs a toolchain w/ C++, dynamic library and full Lua"
+       depends on !BR2_INSTALL_LIBSTDCPP || BR2_PACKAGE_LUAJIT || BR2_STATIC_LIBS
        depends on BR2_PACKAGE_HAS_LUAINTERPRETER
        depends on BR2_USE_MMU