From 2f92075db285d076ea27a982319f6ab270831637 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 25 Jun 2007 09:01:53 +0000 Subject: [PATCH] - make sure that TARGET_DIR/usr/lib exists --- package/zlib/zlib.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index 89af3bcc96..247940f562 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -55,11 +55,11 @@ $(TARGET_DIR)/usr/lib/libz.so.$(ZLIB_VER): $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB touch -c $@ $(TARGET_DIR)/usr/lib/libz.a: $(STAGING_DIR)/usr/lib/libz.so.$(ZLIB_VER) - mkdir -p $(TARGET_DIR)/usr/include + mkdir -p $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib cp -dpf $(STAGING_DIR)/usr/include/zlib.h $(TARGET_DIR)/usr/include/ cp -dpf $(STAGING_DIR)/usr/include/zconf.h $(TARGET_DIR)/usr/include/ cp -dpf $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/ - rm -f $(TARGET_DIR)/lib/libz.so + rm -f $(TARGET_DIR)/lib/libz.so $(TARGET_DIR)/usr/lib/libz.so ln -sf libz.so.$(ZLIB_VER) $(TARGET_DIR)/usr/lib/libz.so touch -c $@ -- 2.30.2