mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
libdouble-conversion: Switch to CP instead of INSTALL_DATA
INSTALL_DATA turns symlinks into files, increasing the size. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libdouble-conversion
|
||||
PKG_VERSION:=3.1.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=double-conversion-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/google/double-conversion/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -50,7 +50,7 @@ CMAKE_OPTIONS += \
|
||||
|
||||
define Package/libdouble-conversion/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* $(1)/usr/lib/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libdouble-conversion))
|
||||
|
||||
Reference in New Issue
Block a user