[Buildroot] [PATCH] lighttpd: disable static build

Baruch Siach baruch at tkos.co.il
Tue Dec 9 11:25:26 UTC 2014


lighttpd modules support code requires shared libraries support.

The scons based build system seems to be support static link of modules, but
we currently don't use scons for lighttpd.

Fixes:
http://autobuild.buildroot.net/results/39c/39c027bf6b76a0f9c15a184f449dadacfaefe980/

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/lighttpd/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/lighttpd/Config.in b/package/lighttpd/Config.in
index a5abf7ea0850..f0e1c7f22f99 100644
--- a/package/lighttpd/Config.in
+++ b/package/lighttpd/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIGHTTPD
 	bool "lighttpd"
 	depends on BR2_USE_MMU # fork()
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  lighttpd a secure, fast, compliant and very flexible web-server
 	  which has been optimized for high-performance environments. It
@@ -12,6 +13,10 @@ config BR2_PACKAGE_LIGHTTPD
 
 	  http://www.lighttpd.net/
 
+comment "lighttpd needs a toolchain w/ dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_PREFER_STATIC_LIB
+
 if BR2_PACKAGE_LIGHTTPD
 
 config BR2_PACKAGE_LIGHTTPD_OPENSSL
-- 
2.1.3



More information about the buildroot mailing list