diff --git a/README.md b/README.md index f5d69d365..5d9051f72 100755 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ package("libpng") set_homepage("http://libpng.sf.net") set_description("LIBPNG: Portable Network Graphics support, official libpng repository") - add_urls("https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.tar.gz", + add_urls("https://github.com/glennrp/libpng/archive/refs/tags/$(version).tar.gz", "https://github.com/glennrp/libpng.git") add_versions("v1.6.35", "6d59d6a154ccbb772ec11772cb8f8beb0d382b61e7ccc62435bf7311c9f4b210") diff --git a/README_zh.md b/README_zh.md index 8df1bc89d..9113657a9 100755 --- a/README_zh.md +++ b/README_zh.md @@ -104,7 +104,7 @@ package("libpng") set_homepage("http://libpng.sf.net") set_description("LIBPNG: Portable Network Graphics support, official libpng repository") - add_urls("https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.tar.gz", + add_urls("https://github.com/glennrp/libpng/archive/refs/tags/$(version).tar.gz", "https://github.com/glennrp/libpng.git") add_versions("v1.6.35", "6d59d6a154ccbb772ec11772cb8f8beb0d382b61e7ccc62435bf7311c9f4b210")