diff options
Diffstat (limited to 'xmake/modules/private/action/require/impl/actions/patch_sources.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/actions/patch_sources.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/actions/patch_sources.lua b/xmake/modules/private/action/require/impl/actions/patch_sources.lua index 6c18b69b1..6b8e60e59 100644 --- a/xmake/modules/private/action/require/impl/actions/patch_sources.lua +++ b/xmake/modules/private/action/require/impl/actions/patch_sources.lua @@ -80,6 +80,7 @@ function _patch(package, patchinfo) if patch_url:find(string.ipattern("https-://")) or patch_url:find(string.ipattern("ftps-://")) then http.download(patch_url, patch_file, { insecure = global.get("insecure-ssl"), + insecure_fallback = true, -- retry without ssl verification on cert error, the file is verified by sha256 below headers = package:policy("package.download.http_headers")}) else -- copy the patch file |
