aboutsummaryrefslogtreecommitdiff
path: root/libs/pugixml
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-05-07 17:30:53 -0700
committerRosen Penev <rosenp@gmail.com>2020-05-07 19:46:22 -0700
commitc88bf0ef2c849b0ce3f265c89f3241b362391596 (patch)
tree8a4902e30ef674b68c8d2dcbed7f6c3cb59e76a2 /libs/pugixml
parent0f829d02468676326a4a57dc498a7a4129a93fab (diff)
pugixml: build as static
Upstream recommends static. There is also onle one package that depends on this. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/pugixml')
-rw-r--r--libs/pugixml/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/libs/pugixml/Makefile b/libs/pugixml/Makefile
index a1d9618f9..3b041f5ce 100644
--- a/libs/pugixml/Makefile
+++ b/libs/pugixml/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pugixml
PKG_VERSION:=1.10
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/zeux/pugixml/releases/download/v$(PKG_VERSION)
@@ -29,6 +29,7 @@ define Package/pugixml
TITLE:=pugixml
URL:=https://github.com/zeux/pugixml
DEPENDS:=+libstdcpp
+ BUILDONLY:=1
endef
define Package/pugixml/description
@@ -40,14 +41,6 @@ define Package/pugixml/description
(which happen automatically during parsing/saving).
endef
-CMAKE_OPTIONS += \
- -DBUILD_SHARED_LIBS=ON
-
TARGET_CXXFLAGS += -flto
-define Package/pugixml/install
- $(INSTALL_DIR) $(1)/usr/lib/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpugixml.so* $(1)/usr/lib/
-endef
-
$(eval $(call BuildPackage,pugixml))