summaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-25 09:01:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-25 09:01:53 +0000
commit2f92075db285d076ea27a982319f6ab270831637 (patch)
treef11cce33c6fb03c63d5b3e11818865377ffb9295 /package/zlib
parentb63654f3520fd5182814466aec79d41f0def4753 (diff)
- make sure that TARGET_DIR/usr/lib exists
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/zlib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 89af3bcc9..247940f56 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 $@