Skip to contentSkip to conversation

lighttpd: disable static build

PATCH New Baruch Siach 2 participants 2 messages Dec 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lighttpd: disable static build

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/

---
 package/lighttpd/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/lighttpd/Config.in +5 -0
index a5abf7ea0850..f0e1c7f22f99 100644
@@ -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
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 lighttpd: disable static build

Quoted 28 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

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/

---
 package/lighttpd/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/lighttpd/Config.in +1 -0
index a5abf7ea0850..f0e1c7f22f99 100644
@@ -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

package/lighttpd/Config.in config BR2_PACKAGE_LIGHTTPD · line 22

Quoted 10 lines
package/lighttpd/Config.in +4 -0
@@ -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

With the comment here the suboptions will no longer get correctly indented. I've moved it to the top of the file and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard