Skip to content

Commit 61c4d74

Browse files
committed
[LibCURL_jll] Do not load OpenSSL_jll on macOS and Windows
1 parent d8ba63d commit 61c4d74

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

stdlib/LibCURL_jll/src/LibCURL_jll.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
## dummy stub for https://github.com/JuliaBinaryWrappers/LibCURL_jll.jl
44

55
baremodule LibCURL_jll
6-
using Base, Libdl, nghttp2_jll, LibSSH2_jll, OpenSSL_jll, Zlib_jll
6+
using Base, Libdl, nghttp2_jll, LibSSH2_jll, Zlib_jll
7+
if !(Sys.iswindows() || Sys.isapple())
8+
# On Windows and macOS we use system SSL/crypto libraries
9+
using OpenSSL_jll
10+
end
711

812
const PATH_list = String[]
913
const LIBPATH_list = String[]

0 commit comments

Comments
 (0)