From b1d81f5dde65eff579b1ece330f9b6146459c808 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 2 Jun 2021 21:01:47 -0700 Subject: [PATCH] taglib: built shared library instead Two packages here use taglib. Signed-off-by: Rosen Penev --- libs/taglib/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/taglib/Makefile b/libs/taglib/Makefile index 9f8c8194a..876ab8a7f 100644 --- a/libs/taglib/Makefile +++ b/libs/taglib/Makefile @@ -27,7 +27,6 @@ define Package/taglib TITLE:=taglib URL:=https://github.com/taglib/taglib DEPENDS:=+libstdcpp - BUILDONLY:=1 endef define Package/taglib/description @@ -38,6 +37,7 @@ define Package/taglib/description endef CMAKE_OPTIONS += \ + -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF \ -DBUILD_EXAMPLES=OFF \ -DBUILD_BINDINGS=OFF \ @@ -56,4 +56,9 @@ define Build/InstallDev $(LN) ../../usr/bin/taglib-config $(2)/bin/taglib-config endef +define Package/taglib/Install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtag.so.* $(1)/usr/lib/ +endef + $(eval $(call BuildPackage,taglib))