File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 33# # dummy stub for https://github.com/JuliaBinaryWrappers/OpenSSL_jll.jl
44
55baremodule OpenSSL_jll
6- using Base, Libdl
6+ using Base, Libdl, Base . BinaryPlatforms
77
88const PATH_list = String[]
99const LIBPATH_list = String[]
@@ -20,8 +20,13 @@ libssl_handle::Ptr{Cvoid} = C_NULL
2020libssl_path:: String = " "
2121
2222if Sys. iswindows ()
23- const libcrypto = " libcrypto.dll"
24- const libssl = " libssl.dll"
23+ if arch (HostPlatform ()) == " x86_64"
24+ const libcrypto = " libcrypto-3-x64.dll"
25+ const libssl = " libssl-3-x64.dll"
26+ else
27+ const libcrypto = " libcrypto-3.dll"
28+ const libssl = " libssl-3.dll"
29+ end
2530elseif Sys. isapple ()
2631 const libcrypto = " @rpath/libcrypto.3.dylib"
2732 const libssl = " @rpath/libssl.3.dylib"
You can’t perform that action at this time.
0 commit comments