From: Jo-Philipp Wich Date: Tue, 5 May 2009 11:51:51 +0000 (+0000) Subject: [package] iptables: install essential headers into staging dir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4bbaac07dd9d534de64d545d6b4ce0834dd42e44;p=openwrt%2Fsvn-archive%2Farchive.git [package] iptables: install essential headers into staging dir SVN-Revision: 15621 --- diff --git a/package/iptables/Makefile b/package/iptables/Makefile index cfbdb6c78e..6d912a066e 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -266,6 +266,14 @@ endef define Build/InstallDev mkdir -p $(1)/usr/include + mkdir -p $(1)/usr/include/iptables + mkdir -p $(1)/usr/include/net/netfilter + + # XXX: iptables header fixup, some headers are not installed by iptables anymore + $(CP) $(PKG_BUILD_DIR)/include/net/netfilter/*.h $(1)/usr/include/net/netfilter/ + $(CP) $(PKG_BUILD_DIR)/include/iptables/*.h $(1)/usr/include/iptables/ + $(CP) $(PKG_BUILD_DIR)/include/iptables.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ mkdir -p $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxtables.{a,so*} $(1)/usr/lib/