lighttpd: disable static build
authorBaruch Siach <baruch@tkos.co.il>
Tue, 9 Dec 2014 11:25:26 +0000 (13:25 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 9 Dec 2014 11:40:01 +0000 (12:40 +0100)
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/

[Peter: move to top of file to fix indentation of sub options]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lighttpd/Config.in

index a5abf7ea08502905958e8b9d57f9f9c5f052a1b4..0d794c93afffcf49c48b56cd746a48ae19cea556 100644 (file)
@@ -1,6 +1,11 @@
+comment "lighttpd needs a toolchain w/ dynamic library"
+       depends on BR2_USE_MMU
+       depends on BR2_PREFER_STATIC_LIB
+
 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