projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_...
[openwrt/staging/wigyori.git]
/
package
/
iptables
/
Makefile
diff --git
a/package/iptables/Makefile
b/package/iptables/Makefile
index 67dedca38ffa5994a4da5eb2ad39dcc707d32dc1..b60990cabfcf1a9faa17941e2690398688298080 100644
(file)
--- a/
package/iptables/Makefile
+++ b/
package/iptables/Makefile
@@
-388,7
+388,7
@@
TARGET_CFLAGS += \
CONFIGURE_ARGS += \
--enable-shared \
--enable-devel \
-
--enable-ipv6
\
+
$(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6)
\
--enable-libipq \
--with-kernel="$(LINUX_DIR)" \
--with-xtlibdir=/usr/lib/iptables