Преглед изворни кода

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

Co-authored-by: yangyunzhao <[email protected]>
yangyun0123456 пре 1 година
родитељ
комит
708f4b2715
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/l/libcurl/xmake.lua

+ 2 - 2
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",