privoxy: needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Nov 2016 14:00:43 +0000 (15:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Nov 2016 14:00:43 +0000 (15:00 +0100)
Even though privoxy has some conditional code to handle configurations
without threads, it is not properly handled everywhere, leading to a
build failure. Since this package is unlikely to be used in
non-threaded environment, just disable it for non-threaded
configurations.

Fixes:

  http://autobuild.buildroot.net/results/fae7a41d110ed6c4d62c77873229d069d8b65986

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/privoxy/Config.in

index 8d8d01a73ffe5edc272233611648e26c727e4c6a..accb48dfc2c88fed224eb534effdd2bf63b4a18f 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PRIVOXY
        bool "privoxy"
        depends on BR2_USE_MMU # fork()
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_PCRE
        select BR2_PACKAGE_ZLIB
        help
@@ -10,3 +11,7 @@ config BR2_PACKAGE_PRIVOXY
          obnoxious Internet junk.
 
          http://www.privoxy.org/
+
+comment "privoxy needs a toolchain w/ threads"
+       depends on BR2_USE_MMU
+       depends on !BR2_TOOLCHAIN_HAS_THREADS