From be866bfcbc0b1f5704d2428261b04043c8d88994 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Thu, 11 Dec 2008 14:40:56 +0000 Subject: [PATCH] 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 --- package/zlib/zlib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2