File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ function replace_musl_shortname(lib_handle::Ptr{Cvoid})
131131
132132 # If the shortname is not NULL, break out.
133133 if dso. shortname != C_NULL
134- @debug (" shortname != NULL!" , ptr= shortname_ptr , value= unsafe_string (shortname_ptr ))
134+ @debug (" shortname != NULL!" , ptr= dso . shortname , value= unsafe_string (dso . shortname ))
135135 return lib_handle
136136 end
137137
@@ -144,5 +144,6 @@ function replace_musl_shortname(lib_handle::Ptr{Cvoid})
144144 new_shortname = basename (lib_path)
145145 push! (manual_gc_roots, new_shortname)
146146 unsafe_store! (Ptr {Ptr{UInt8}} (lib_handle + shortname_offset), pointer (new_shortname))
147+ @debug (" musl workaround successful" , shortname= new_shortname)
147148 return lib_handle
148149end
You can’t perform that action at this time.
0 commit comments