From: Xuzhen LI Date: Fri, 10 Jul 2026 08:28:09 +0000 (+0900) Subject: gpgme: fix double -sf flag passed to ln X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=88d19c5ceba1095f2e3af43de81e2784543b22ea;p=openwrt-packages.git gpgme: fix double -sf flag passed to ln LN is already defined as 'ln -sf' in rules.mk, so passing -sf again results in 'ln -sf -sf ...', which fails with stricter ln implementations. Fixes #29243. Signed-off-by: Xuzhen LI --- diff --git a/libs/gpgme/Makefile b/libs/gpgme/Makefile index a8f2ffd90..ce7cbfc95 100644 --- a/libs/gpgme/Makefile +++ b/libs/gpgme/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gpgme PKG_VERSION:=2.1.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://gnupg.org/ftp/gcrypt/$(PKG_NAME) @@ -80,7 +80,7 @@ define Build/InstallDev $(SED) \ 's,^\(prefix\|exec_prefix\)=.*,\1=$(STAGING_DIR)/usr,g' \ $(2)/bin/gpgme-config - $(LN) -sf $(STAGING_DIR)/host/bin/gpgme-config $(1)/usr/bin/gpgme-config + $(LN) $(STAGING_DIR)/host/bin/gpgme-config $(1)/usr/bin/gpgme-config endef define Package/libgpgme/install