From: Eneas U de Queiroz Date: Sat, 9 May 2026 22:09:07 +0000 (-0300) Subject: onigumura: fix library installation X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=8a9b1e95fd3875c3b7672bd72d5b175456a65f8a;p=openwrt-packages.git onigumura: fix library installation Commit 537c2a631 ("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 --- diff --git a/libs/oniguruma/Makefile b/libs/oniguruma/Makefile index 7991d98ef..4e8937221 100644 --- a/libs/oniguruma/Makefile +++ b/libs/oniguruma/Makefile @@ -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