Skip to content

Commit 3655631

Browse files
fixups
1 parent 0892046 commit 3655631

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

stdlib/LibSSH2_jll/src/LibSSH2_jll.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ end
4242
is_available() = true
4343

4444
function __init__()
45-
global libssh2_handle = dlopen(libssh2)
46-
global libssh2_path = dlpath(libssh2_handle)
45+
global libssh2_path = string(_libssh2_path)
4746
global artifact_dir = dirname(Sys.BINDIR)
4847
LIBPATH[] = dirname(libssh2_path)
4948
push!(LIBPATH_list, LIBPATH[])

stdlib/OpenLibm_jll/src/OpenLibm_jll.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export libopenlibm
1313
const PATH = Ref("")
1414
const LIBPATH = Ref("")
1515
artifact_dir::String = ""
16-
libopenlibm_handle::Ptr{Cvoid} = C_NULL
1716
libopenlibm_path::String = ""
1817

1918
if Sys.iswindows()

stdlib/libLLVM_jll/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ using Test, Libdl, libLLVM_jll
44

55
@testset "libLLVM_jll" begin
66
# Try to find a symbol from the C API of libLLVM as a simple sanity check.
7-
@test dlsym(libLLVM_jll.libLLVM_handle, :LLVMContextCreate; throw_error=false) !== nothing
7+
@test dlsym(libLLVM_jll.libLLVM, :LLVMContextCreate; throw_error=false) !== nothing
88
end

test/trimming/basic_jll.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using Zstd_jll
55

66
Base.@ccallable function main()::Cint
77
println(Core.stdout, "Julia! Hello, world!")
8-
fptr = dlsym(Zstd_jll.libzstd_handle, :ZSTD_versionString)
8+
fptr = dlsym(Zstd_jll.libzstd, :ZSTD_versionString)
99
println(Core.stdout, unsafe_string(ccall(fptr, Cstring, ())))
1010
println(Core.stdout, unsafe_string(ccall((:ZSTD_versionString, libzstd), Cstring, ())))
1111
return 0

0 commit comments

Comments
 (0)