temp fix for iptables build failure after [13931]
[openwrt.git] / package / iptables / Makefile
index dfe7cac..55ca0b3 100644 (file)
@@ -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)
This page took 0.022466 seconds and 4 git commands to generate.