aboutsummaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-25 09:01:53 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-25 09:01:53 +0000
commit2f92075db285d076ea27a982319f6ab270831637 (patch)
treef11cce33c6fb03c63d5b3e11818865377ffb9295 /package/zlib
parentb63654f3520fd5182814466aec79d41f0def4753 (diff)
downloadbuildroot-2f92075db285d076ea27a982319f6ab270831637.tar.gz
buildroot-2f92075db285d076ea27a982319f6ab270831637.tar.bz2
- 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 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 $@