[openwrt/openwrt] libunwind: avoid using $(PKG_NAME) in PKG_SOURCE_URL

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 1 11:25:34 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/1e00160a8fdcbe2dc8ce898febfe4338ba2fe890

commit 1e00160a8fdcbe2dc8ce898febfe4338ba2fe890
Author: Josef Schlehofer <pepe.schlehofer at gmail.com>
AuthorDate: Fri Sep 26 20:09:22 2025 +0200

    libunwind: avoid using $(PKG_NAME) in PKG_SOURCE_URL
    
    If there is used $(PKG_NAME) in PKG_SOURCE_URL,
    then it can not be copy&pasted to the browser's address bar.
    
    Let's remove $(PKG_NAME) and use hardcoded project name
    in the PKG_SOURCE_URL
    
    Signed-off-by: Josef Schlehofer <pepe.schlehofer at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/20193
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/libs/libunwind/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/libunwind/Makefile b/package/libs/libunwind/Makefile
index e750316eb8..8fa2a786c4 100644
--- a/package/libs/libunwind/Makefile
+++ b/package/libs/libunwind/Makefile
@@ -13,7 +13,7 @@ PKG_VERSION:=1.8.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/$(PKG_NAME)/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/
+PKG_SOURCE_URL:=https://github.com/libunwind/libunwind/releases/download/v$(PKG_VERSION)/
 PKG_HASH:=be30d910e67f58d82e753231f1357f326a1a088acf126b21ff77e60aab19b90b
 
 PKG_MAINTAINER:=Yousong Zhou <yszhou4tech at gmail.com>




More information about the lede-commits mailing list