From 9ac5ac81ab2241b7c13c01e8801e0e7d95ebb4eb Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Thu, 20 Jun 2019 13:25:59 +0000 Subject: treewide: avoid deref symlinks when installing .so This change is inspired by commit openwrt/openwrt@38b22b1e ("nghttp2: deduplicate files in libnghttp2") The packages in this commit are identified with the following command grep -rin -E 'INSTALL_(DATA|BIN)' | grep -F '.so' | grep -F '*' Some of them do not have symlinks and are not affected, but the change is still applied for consideration of best practices just in case Signed-off-by: Yousong Zhou --- sound/mocp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sound/mocp/Makefile') diff --git a/sound/mocp/Makefile b/sound/mocp/Makefile index 8860ce195..eec46f951 100644 --- a/sound/mocp/Makefile +++ b/sound/mocp/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=moc PKG_VERSION:=2.5.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://ftp.daper.net/pub/soft/moc/stable/ @@ -62,7 +62,7 @@ define Package/moc/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mocp $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/lib/moc/decoder_plugins - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/moc/decoder_plugins/*.so $(1)/usr/lib/moc/decoder_plugins + $(CP) $(PKG_INSTALL_DIR)/usr/lib/moc/decoder_plugins/*.so $(1)/usr/lib/moc/decoder_plugins endef $(eval $(call BuildPackage,moc)) -- cgit v1.2.3