diff options
| author | ruki <[email protected]> | 2026-04-08 16:46:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-08 16:46:28 +0800 |
| commit | 3a91a8b27ebc9d40656750615a3606e5fe971fc9 (patch) | |
| tree | 9d76ca97662897854f57b38d09861c6e8449ab73 /core/xpack.lua | |
| parent | ad2ec59e16d975d0fae054649ad360fe85031012 (diff) | |
| parent | 9d962c7502d997218a99ea00491475ca8d568066 (diff) | |
Merge pull request #7449 from Akaps316/codex/fix-modules-private-dep-bmis
fix(c++/modules): avoid leaking private dep flags to rebuilt BMIs
Diffstat (limited to 'core/xpack.lua')
| -rw-r--r-- | core/xpack.lua | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/xpack.lua b/core/xpack.lua index 9f1721e5a..a0288004a 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -40,14 +40,15 @@ xpack("xmake") else local arch = package:arch() local url_7z = "https://github.com/xmake-mirror/7zip/releases/download/24.08/7z24.08-" .. arch .. ".zip" - local curl_version = "8.11.0_4" - local url_curl = "https://curl.se/windows/dl-" .. curl_version .. "/curl-" .. curl_version + local curl_version = "8.19.0_6" + local curl_version_win32 = "8.14.1_1" + local url_curl if package:is_arch("x64", "x86_64") then - url_curl = url_curl .. "-win64-mingw.zip" + url_curl = "https://curl.se/windows/dl-" .. curl_version .. "/curl-" .. curl_version .. "-win64-mingw.zip" elseif package:is_arch("arm64") then - url_curl = url_curl .. "-win64a-mingw.zip" + url_curl = "https://curl.se/windows/dl-" .. curl_version .. "/curl-" .. curl_version .. "-win64a-mingw.zip" else - url_curl = url_curl .. "-win32-mingw.zip" + url_curl = "https://curl.se/windows/dl-" .. curl_version_win32 .. "/curl-" .. curl_version_win32 .. "-win32-mingw.zip" end local archive_7z = path.join(package:builddir(), "7z.zip") local archive_curl = path.join(package:builddir(), "curl.zip") |
