X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ef2fc9915aed0fcfc3706f3e6cb11372c27209ef..7efebe60e89ec6d0c9630affe04d8892c574553b:/package/iptables/Makefile diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 43a3cdf51..55ca0b370 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -256,7 +256,10 @@ endif TARGET_CPPFLAGS := -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS) TARGET_CFLAGS += $(FPIC) -CONFIGURE_ARGS += --enable-devel --with-xtlibdir=/usr/lib/iptables +CONFIGURE_ARGS += \ + --enable-devel \ + --with-kernel="$(LINUX_DIR)" \ + --with-xtlibdir=/usr/lib/iptables define Build/Compile mkdir -p $(PKG_INSTALL_DIR)