Browse Source

libyaml-cpp: copy file matching libs soname

The soname is not set to the full version, but only major.minor.
This uses libyaml-cpp.so.?.? to try to get it right.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lilik-openwrt-22.03
Eneas U de Queiroz 6 years ago
parent
commit
da9dda6412
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      libs/libyaml-cpp/Makefile

+ 3
- 4
libs/libyaml-cpp/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libyaml-cpp
PKG_VERSION:=0.6.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=yaml-cpp-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/jbeder/yaml-cpp/tar.gz/yaml-cpp-$(PKG_VERSION)?
@ -46,9 +46,8 @@ endef
define Package/libyaml-cpp/install
$(INSTALL_DIR) $(1)/usr/lib
#$(INSTALL_DATA) $(PKG_BUILD_DIR)/libyaml-cpp.so.0.5.3 $(1)/usr/lib/
#$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.5.3 $(1)/usr/lib/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.$(PKG_VERSION) $(1)/usr/lib/
#$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.0.6 $(1)/usr/lib/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libyaml-cpp.so.?.? $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libyaml-cpp))

Loading…
Cancel
Save