ibcurl: fix 'select TLS backend(s) or disable TLS with --without-ssl (#3032)

Co-authored-by: yangyunzhao <yangyunzhao@zy-info.net.cn>
pull/3026/head
yangyun0123456 1 year ago committed by GitHub
parent 8d150be613
commit 708f4b2715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/l/libcurl/xmake.lua

@ -22,7 +22,7 @@ package("libcurl")
end
add_configs("cares", {description = "Enable c-ares support.", default = false, type = "boolean"})
add_configs("openssl", {description = "Enable OpenSSL for SSL/TLS.", default = is_plat("linux", "cross"), type = "boolean"})
add_configs("openssl", {description = "Enable OpenSSL for SSL/TLS.", default = is_plat("linux", "android", "cross"), type = "boolean"})
add_configs("mbedtls", {description = "Enable mbedTLS for SSL/TLS.", default = false, type = "boolean"})
add_configs("nghttp2", {description = "Use Nghttp2 library.", default = false, type = "boolean"})
add_configs("openldap", {description = "Use OpenLDAP library.", default = false, type = "boolean"})
@ -104,7 +104,7 @@ package("libcurl")
import("package.tools.cmake").install(package, configs)
end)
on_install("macosx", "linux", "cross", function (package)
on_install("macosx", "linux", "android", "cross", function (package)
local configs = {"--disable-silent-rules",
"--disable-dependency-tracking",
"--without-hyper",

Loading…
Cancel
Save