From 40dbf5905ef48300e8b161babc41eda4033c14df Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 24 Jan 2010 23:01:01 +0000 Subject: [PATCH] [packages] miniupnpd: add the kernel headers shipped by iptables to CFLAGS git-svn-id: svn://svn.openwrt.org/openwrt/packages@19320 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/miniupnpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 612234288..5495689ef 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -35,7 +35,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.openwrt \ $(TARGET_CONFIGURE_OPTS) \ STAGING_DIR="$(STAGING_DIR)" \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DIPTABLES_143" \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(firstword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/include)) -DIPTABLES_143" \ LIBS="$(STAGING_DIR)/usr/lib/libiptc.so $(STAGING_DIR)/usr/lib/libip4tc.so $(STAGING_DIR)/usr/lib/libip6tc.so" endef