aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-06-02 21:01:47 -0700
committerRosen Penev <rosenp@gmail.com>2021-06-02 21:04:43 -0700
commitb1d81f5dde65eff579b1ece330f9b6146459c808 (patch)
tree2af002e2434fb5ae76d30b0143ea3eaa705772ea
parent919bad0f6d58786fd2d0f65ffb9afc5fe3cbed9e (diff)
taglib: built shared library instead
Two packages here use taglib. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--libs/taglib/Makefile7
1 files changed, 6 insertions, 1 deletions
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))