summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-19 19:38:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-19 19:38:05 +0000
commit71dc8db355f2e4542f704bc2b142c44470d53ec3 (patch)
treee900971a2aadaf7a3634c688b7728896118e60dd /openwrt/package
parent5f8904f29d997013e6d36d2d83a4fdb2da762ca9 (diff)
downloadmtk-20170518-71dc8db355f2e4542f704bc2b142c44470d53ec3.zip
mtk-20170518-71dc8db355f2e4542f704bc2b142c44470d53ec3.tar.gz
mtk-20170518-71dc8db355f2e4542f704bc2b142c44470d53ec3.tar.bz2
fix libipq install if staging dir doesn't contain usr/lib and usr/include yet
SVN-Revision: 959
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/iptables/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/iptables/Makefile b/openwrt/package/iptables/Makefile
index 3e84c4c..c9743fb 100644
--- a/openwrt/package/iptables/Makefile
+++ b/openwrt/package/iptables/Makefile
@@ -71,6 +71,7 @@ $(IPKG_IP6TABLES):
$(IPKG_BUILD) $(IDIR_IP6TABLES) $(PACKAGE_DIR)
$(STAGING_DIR)/usr/lib/libipq.a: $(PKG_BUILD_DIR)/.built
+ mkdir -p $(STAGING_DIR)/usr/include/ $(STAGING_DIR)/usr/lib/
cp -fpR $(PKG_INSTALL_DIR)/usr/include/libipq.h $(STAGING_DIR)/usr/include/
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libipq.a $(STAGING_DIR)/usr/lib/