squid: disable netfilter for musl toolchains
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 10 Oct 2016 15:50:09 +0000 (12:50 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Oct 2016 14:51:31 +0000 (16:51 +0200)
It has been broken for several releases, fixes:
http://autobuild.buildroot.net/results/d6c/d6cf725e88bc0a4afd0b7e1ae58a8e5a649ae6c3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/squid/squid.mk

index 702b2207e7752770caa83ed9a1f26fb83d5a6b21..c8a72487f6ae60d5b72d7e2acb5c8b47053e6b51 100644 (file)
@@ -25,7 +25,7 @@ SQUID_CONF_ENV = \
        BUILDCXXFLAGS="$(HOST_CXXFLAGS)"
 SQUID_CONF_OPTS = \
        --enable-async-io=8 \
-       --enable-linux-netfilter \
+       $(if $(BR2_TOOLCHAIN_USES_MUSL),--disable-linux-netfilter,--enable-linux-netfilter) \
        --enable-removal-policies="lru,heap" \
        --with-filedescriptors=1024 \
        --disable-ident-lookups \