[Buildroot] [git commit] prosody: add dependency on shared libraries

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Apr 19 21:37:28 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=4b948c2a32188ad38b820163b5b5f06ab15c8666
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/prosody/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/prosody/Config.in b/package/prosody/Config.in
index ef26e2750b..133b0b1343 100644
--- a/package/prosody/Config.in
+++ b/package/prosody/Config.in
@@ -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


More information about the buildroot mailing list