Skip to content

Commit 7b2f1c4

Browse files
committed
1 parent b014787 commit 7b2f1c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: src/pyinit.jl

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ end
1010

1111
#########################################################################
1212

13-
const dlext = isdefined(Sys, :dlext) ? Sys.dlext : Sys.shlib_ext
13+
if VERSION >= v"0.4.0-dev+3844"
14+
using Base.Libdl
15+
else
16+
const dlext = isdefined(Sys, :dlext) ? Sys.dlext : Sys.shlib_ext
17+
end
1418
const dlprefix = @windows? "" : "lib"
1519

1620
function dlopen_libpython(python::AbstractString)

0 commit comments

Comments
 (0)