Skip to content

Commit

Permalink
LibCURL: use OpenSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
fxcoudert authored and giordano committed Mar 29, 2024
1 parent 47f0e55 commit ab29645
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions L/LibCURL/LibCURL@8/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include("../common.jl")

build_libcurl(ARGS, "LibCURL", v"8.7.1")

# Build trigger: 2
8 changes: 3 additions & 5 deletions L/LibCURL/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ function build_libcurl(ARGS, name::String, version::VersionNumber)
export CFLAGS=-mmacosx-version-min=10.11
fi
else
# On all other systems, we use MbedTLS
FLAGS+=(--with-mbedtls=${prefix})
# On all other systems, we use OpenSSL
FLAGS+=(--with-openssl)
fi
if false; then
Expand Down Expand Up @@ -128,9 +128,7 @@ function build_libcurl(ARGS, name::String, version::VersionNumber)
Dependency("LibSSH2_jll"),
Dependency("Zlib_jll"),
Dependency("nghttp2_jll"),
# Note that while we unconditionally list MbedTLS as a dependency,
# we default to schannel/SecureTransport on Windows/MacOS.
Dependency("MbedTLS_jll"; compat="~2.28.0", platforms=filter(p->Sys.islinux(p) || Sys.isfreebsd(p), platforms)),
Dependency("OpenSSL_jll"; compat="3.0.8", platforms=filter(p->Sys.islinux(p) || Sys.isfreebsd(p), platforms)),
# Dependency("Kerberos_krb5_jll"; platforms=filter(p->Sys.islinux(p) || Sys.isfreebsd(p), platforms)),
BuildDependency(PackageSpec(name="LLVMCompilerRT_jll", uuid="4e17d02c-6bf5-513e-be62-445f41c75a11", version=llvm_version);
platforms=filter(p -> sanitize(p)=="memory", platforms)),
Expand Down

0 comments on commit ab29645

Please sign in to comment.