From: Jo-Philipp Wich Date: Sun, 24 Jan 2010 23:01:01 +0000 (+0000) Subject: [packages] miniupnpd: add the kernel headers shipped by iptables to CFLAGS X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=2fa7d0aeeb0e545597a43850440cca197bf5706a [packages] miniupnpd: add the kernel headers shipped by iptables to CFLAGS SVN-Revision: 19320 --- diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index 6122342882..5495689ef7 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