Skip to content

Commit 8574f13

Browse files
authored
Fixes for Libdl moving to the stdlib (#72)
1 parent 599060f commit 8574f13

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

deps/build.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
using Compat
22
using Compat.Sys: isapple, islinux, iswindows
33

4+
if VERSION >= v"0.7.0-DEV.3382"
5+
using Libdl
6+
end
7+
48
did_setup = false
59

610
if VERSION < v"0.7.0-DEV.1760"

deps/scratch.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ using BinDeps
44
using BinDeps: libdir, srcdir, includedir, depsdir, builddir
55
using Base.Math: libm
66

7+
if VERSION >= v"0.7.0-DEV.3382"
8+
using Libdl
9+
end
10+
711
# Don't call setup again if we're being included from binaries.jl
812
if !did_setup
913
BinDeps.@setup

0 commit comments

Comments
 (0)