From c3f3cbe9dcd9df387a3bc72bb3bd13a6ee99ac9c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 7 Jun 2019 14:31:19 -0700 Subject: [PATCH] gflags: Use CP instead of INSTALL_DATA INSTALL_DATA turns the symlinks into files, increasing the size. Signed-off-by: Rosen Penev --- libs/libgflags/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/libgflags/Makefile b/libs/libgflags/Makefile index dbaace61d..28bd559b7 100644 --- a/libs/libgflags/Makefile +++ b/libs/libgflags/Makefile @@ -2,12 +2,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gflags PKG_VERSION:=2.2.2 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/gflags/gflags/tar.gz/v$(PKG_VERSION)? PKG_HASH:=34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf +PKG_MAINTAINER:=Amol Bhave PKG_LICENSE:=BSD-3-Clause PKG_LICENSE_FILES:=COPYING.txt @@ -28,7 +29,6 @@ define Package/gflags TITLE:=C++ library that implements commandline flags processing DEPENDS:=+libstdcpp +libpthread URL:=https://github.com/gflags/gflags - MAINTAINER:=Amol Bhave endef define Package/gflags/description @@ -39,7 +39,7 @@ endef define Package/gflags/install $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libgflags.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgflags.so* $(1)/usr/lib/ endef $(eval $(call BuildPackage,gflags))