X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e54be17dce4b377a5c98e9336fa8401eb38b2989..7efebe60e89ec6d0c9630affe04d8892c574553b:/package/iptables/Makefile diff --git a/package/iptables/Makefile b/package/iptables/Makefile index dfe7cac24..55ca0b370 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -254,8 +254,12 @@ ifeq ($(KERNEL),2.4) endef 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)