prosody: add dependency on shared libraries
authorDanomi Manchego <danomimanchego123@gmail.com>
Wed, 18 Apr 2018 09:03:39 +0000 (05:03 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Apr 2018 21:37:28 +0000 (23:37 +0200)
The prosody package uses several Lua packages that require shared libraries.
Therefore, prosody must require shared libraries too.

Fixes: http://autobuild.buildroot.net/results/b126bce0bbd111f021ed5be7c8773fef2a8f8579
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/prosody/Config.in

index ef26e2750b66a80d6c2e573240de13c92cf0f2d0..133b0b1343b0c863b96b05d2740ec033bd3c1a94 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PROSODY
        bool "prosody"
        depends on BR2_USE_MMU # fork
        depends on BR2_PACKAGE_HAS_LUAINTERPRETER
+       depends on !BR2_STATIC_LIBS # luaexpat, luasec, luasocket, luafilesystem
        select BR2_PACKAGE_LUAEXPAT # runtime
        select BR2_PACKAGE_LUASEC # runtime
        select BR2_PACKAGE_LUASOCKET # runtime
@@ -15,6 +16,6 @@ config BR2_PACKAGE_PROSODY
 
          https://prosody.im
 
-comment "prosody needs the lua interpreter"
-       depends on !BR2_PACKAGE_HAS_LUAINTERPRETER
+comment "prosody needs the lua interpreter, dynamic library"
+       depends on !BR2_PACKAGE_HAS_LUAINTERPRETER || BR2_STATIC_LIBS
        depends on BR2_USE_MMU