[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
This commit is contained in:
parent
9c48531365
commit
40dbf5905e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user