fix libipq install if staging dir doesn't contain usr/lib and usr/include yet
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 May 2005 19:38:05 +0000 (19:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 May 2005 19:38:05 +0000 (19:38 +0000)
SVN-Revision: 959

openwrt/package/iptables/Makefile

index 3e84c4ce15fe676115e967c3f29237c67e81c8df..c9743fbed25389a1c0335e6813ecb303990baba0 100644 (file)
@@ -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/