Browse Source

taglib: built shared library instead

Two packages here use taglib.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
b1d81f5dde
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      libs/taglib/Makefile

+ 6
- 1
libs/taglib/Makefile View File

@ -27,7 +27,6 @@ define Package/taglib
TITLE:=taglib TITLE:=taglib
URL:=https://github.com/taglib/taglib URL:=https://github.com/taglib/taglib
DEPENDS:=+libstdcpp DEPENDS:=+libstdcpp
BUILDONLY:=1
endef endef
define Package/taglib/description define Package/taglib/description
@ -38,6 +37,7 @@ define Package/taglib/description
endef endef
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTS=OFF \ -DBUILD_TESTS=OFF \
-DBUILD_EXAMPLES=OFF \ -DBUILD_EXAMPLES=OFF \
-DBUILD_BINDINGS=OFF \ -DBUILD_BINDINGS=OFF \
@ -56,4 +56,9 @@ define Build/InstallDev
$(LN) ../../usr/bin/taglib-config $(2)/bin/taglib-config $(LN) ../../usr/bin/taglib-config $(2)/bin/taglib-config
endef 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)) $(eval $(call BuildPackage,taglib))

Loading…
Cancel
Save