summaryrefslogtreecommitdiffstats
path: root/package/iptables/iptables.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables/iptables.mk')
-rw-r--r--package/iptables/iptables.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 21ea5be13..f18dd9e9f 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -7,7 +7,7 @@ IPTABLES_VERSION = 1.4.2
IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2
IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables
-IPTABLES_CONF_OPT = --libexecdir=/usr/lib
+IPTABLES_CONF_OPT = --libexecdir=/usr/lib --with-kernel=$(LINUX_HEADERS_DIR)
ifneq ($(BR2_INET_IPV6),y)
IPTABLES_CONF_OPT += --enable-ipv6=no
endif
@@ -16,7 +16,6 @@ IPTABLES_INSTALL_TARGET = YES
IPTABLES_AUTORECONF = YES
IPTABLES_DEPENDENCIES =
-IPTABLES_CONFIGURE_OPT = --with-kernel=$(LINUX_HEADERS_DIR)
$(eval $(call AUTOTARGETS,package,iptables))