summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 19:38:05 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 19:38:05 +0000
commit67b075f0a7b0ce413593053052078e5516725cb9 (patch)
treee900971a2aadaf7a3634c688b7728896118e60dd
parent37e754a22d9a089eb0533f21bf945c26a61670a6 (diff)
fix libipq install if staging dir doesn't contain usr/lib and usr/include yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@959 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 3e84c4ce1..c9743fbed 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/