Skip to content

Commit 074fada

Browse files
fredrikekrebicycle1885
authored andcommitted
Fix Libdl dependency issue. (#26)
1 parent e6b44dc commit 074fada

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/CodecZlib.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ import TranscodingStreams:
3131
splitkwargs
3232

3333
using Compat: Cvoid
34-
using Compat.Libdl
34+
if VERSION < v"0.7.0-DEV.3382"
35+
using Base.Libdl
36+
else
37+
using Libdl
38+
end
3539

3640
const libzpath = joinpath(dirname(@__FILE__), "..", "deps", "deps.jl")
3741
if !isfile(libzpath)

0 commit comments

Comments
 (0)