summaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-11 14:40:56 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-11 14:40:56 +0000
commitbe866bfcbc0b1f5704d2428261b04043c8d88994 (patch)
treef536a00a4ffe631ed042c2fe6478c3cf00c3ecdf /package/zlib
parent9878bf1d8c4509852dc9c93e722edba87411af4a (diff)
zlib: install using cp instead of install for zlib libraries
This patch will install zlib keeping the symlinks. The usage of $(INSTALL) here did not take into account symbolic links. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/zlib.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index aa87ff7b7..739105118 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -53,7 +53,7 @@ $(STAGING_DIR)/usr/lib/libz.a: $(ZLIB_DIR)/libz.a
touch -c $@
$(STAGING_DIR)/usr/lib/libz.so: $(STAGING_DIR)/usr/lib/libz.a
- $(INSTALL) $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
+ cp -dpf $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
touch -c $@
$(TARGET_DIR)/usr/lib/libz.so: $(STAGING_DIR)/usr/lib/libz.so