From 8a9b1e95fd3875c3b7672bd72d5b175456a65f8a Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Sat, 9 May 2026 19:09:07 -0300 Subject: [PATCH] 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 --- libs/oniguruma/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/oniguruma/Makefile b/libs/oniguruma/Makefile index 7991d98efe..4e89372215 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