We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5c12c commit b787abaCopy full SHA for b787aba
src/startup.jl
@@ -73,7 +73,7 @@ else
73
libpy_handle = proc_handle
74
# Now determine the name of the python library that these symbols are from
75
some_address_in_libpython = Libdl.dlsym(libpy_handle, :Py_GetVersion)
76
- some_address_in_main_exe = Libdl.dlsym(proc_handle, Sys.isapple() ? :_mh_execute_header : :main)
+ some_address_in_main_exe = Libdl.dlsym(proc_handle, Sys.isapple() ? :_mh_execute_header : :_start)
77
dlinfo1 = Ref{Dl_info}()
78
dlinfo2 = Ref{Dl_info}()
79
ccall(:dladdr, Cint, (Ptr{Cvoid}, Ptr{Dl_info}), some_address_in_libpython,
0 commit comments