Skip to content

Commit

Permalink
Merge pull request #124 from simonster/libdl
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Mar 18, 2015
2 parents b014787 + be4b108 commit 33906a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pyinit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ end

#########################################################################

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

function dlopen_libpython(python::AbstractString)
Expand Down

0 comments on commit 33906a7

Please sign in to comment.