mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08: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>
This commit is contained in:
@@ -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