summaryrefslogtreecommitdiffstats
path: root/package/zlib
diff options
context:
space:
mode:
authorThiago A. CorrĂȘa <thiago.correa@gmail.com>2008-10-31 16:37:01 +0000
committerThiago A. CorrĂȘa <thiago.correa@gmail.com>2008-10-31 16:37:01 +0000
commit1830e8942fe3c90da4bcda14dcf926d65daa1286 (patch)
tree3cde11c4c9e52aae51bf117ec26cfc6b4a3b11ca /package/zlib
parent2016afd117d5f097169e64b0e2f98fd3b060f31c (diff)
Fix zlib install broken by previous commit. Sorry
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/zlib.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index 3fdeab918..32243e918 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -37,21 +37,22 @@ $(ZLIB_DIR)/libz.so: $(ZLIB_DIR)/.configured
touch -c $@
$(STAGING_DIR)/usr/lib/libz.so: $(ZLIB_DIR)/libz.so
- $(INSTALL) -D $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/
- $(INSTALL) -D $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/
+ $(INSTALL) -D $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/libz.a
+ $(INSTALL) -D $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/zlib.h
$(INSTALL) $(ZLIB_DIR)/zconf.h $(STAGING_DIR)/usr/include/
$(INSTALL) $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
touch -c $@
$(TARGET_DIR)/usr/lib/libz.so: $(STAGING_DIR)/usr/lib/libz.so
- $(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.so* $(TARGET_DIR)/usr/lib
+ mkdir -p $(TARGET_DIR)/usr/lib
+ cp -dpf $(STAGING_DIR)/usr/lib/libz.so* $(TARGET_DIR)/usr/lib
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
touch -c $@
$(TARGET_DIR)/usr/lib/libz.a: $(STAGING_DIR)/usr/lib/libz.so
- $(INSTALL) -D $(STAGING_DIR)/usr/include/zlib.h $(TARGET_DIR)/usr/include/
+ $(INSTALL) -D $(STAGING_DIR)/usr/include/zlib.h $(TARGET_DIR)/usr/include/zlib.h
$(INSTALL) $(STAGING_DIR)/usr/include/zconf.h $(TARGET_DIR)/usr/include/
- $(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/
+ $(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/libz.a
touch -c $@
zlib-headers: $(TARGET_DIR)/usr/lib/libz.a