Shouldn't have to specify julia path in jl_init
.
#9691
Labels
embedding
Embedding Julia using the C API
jl_init
.
#9691
As it stands, if a path is not passed to
jl_init
, the default logic in_julia_init
is used. There, ifjl_compileropts.julia_home
and theJULIA_HOME
environment variable are not set, it derives the julia path from that of the current executable. When embedding, though, that's likely not the right place.jl_init
should use analogous logic, but derive the default path from the executing julia shared library.The text was updated successfully, but these errors were encountered: