From: Jo-Philipp Wich Date: Sun, 24 Jan 2010 23:01:01 +0000 (+0000) Subject: miniupnpd: add the kernel headers shipped by iptables to CFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e969985eb922dc2889f1236ccb6d74fe8eb27c66;p=openwrt%2Fsvn-archive%2Fpackages.git miniupnpd: add the kernel headers shipped by iptables to CFLAGS SVN-Revision: 19320 --- 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