X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e8ca01dae1f2e060d4188418e70a29aa3d82ecc4..7557428c93299d9428ef49f250c7736b585b0474:/package/iptables/Makefile diff --git a/package/iptables/Makefile b/package/iptables/Makefile index cfbdb6c78..6d912a066 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/