From: Hans-Christian Egtvedt Date: Thu, 11 Dec 2008 14:40:56 +0000 (-0000) Subject: zlib: install using cp instead of install for zlib libraries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be866bfcbc0b1f5704d2428261b04043c8d88994;p=buildroot.git 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 --- diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index aa87ff7b7c..739105118a 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