mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 16:47:15 +04:00
onigumura: fix library installation
Commit537c2a631("treewide: avoid deref symlinks when installing .so") intended to avoid duplicating .so* files, but this package actually relies on install dereferencing the file that matches the SONAME version, to avoid installing unnecessary symlinks. Fixes: https://github.com/openwrt/packages/issues/29387 Fixes:537c2a631("treewide: avoid deref symlinks when installing .so") Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> (cherry picked from commit8a9b1e95fd)
This commit is contained in:
1 parent
0f58bcc30f
commit
dabd101ec7
1 file changed
+2
-2
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=oniguruma
|
||||
PKG_VERSION:=6.9.10
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=onig-v$(subst _,-,$(PKG_VERSION)).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/kkos/oniguruma/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -43,7 +43,7 @@ CONFIGURE_ARGS += --enable-posix-api
|
||||
|
||||
define Package/oniguruma/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libonig.so.$(ABI_VERSION) $(1)/usr/lib/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libonig.so.$(ABI_VERSION) $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
|
||||
Reference in new issue
Block a user