diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-12-11 14:40:56 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-12-11 14:40:56 +0000 |
commit | be866bfcbc0b1f5704d2428261b04043c8d88994 (patch) | |
tree | f536a00a4ffe631ed042c2fe6478c3cf00c3ecdf | |
parent | 9878bf1d8c4509852dc9c93e722edba87411af4a (diff) | |
download | buildroot-novena-be866bfcbc0b1f5704d2428261b04043c8d88994.tar.gz buildroot-novena-be866bfcbc0b1f5704d2428261b04043c8d88994.zip |
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>
-rw-r--r-- | package/zlib/zlib.mk | 2 |
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 |