Skip to content

Commit

Permalink
1.0 Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
furio committed Aug 11, 2018
1 parent 80982fe commit 7542322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ isfile("deps.jl") && rm("deps.jl")
libdir = joinpath(prefix, "lib")
headerdir = joinpath(prefix, "include")

if is_windows()
if Sys.iswindows()
libfile = joinpath(libdir, "libtriangle.dll")
arch = "x86"
if Sys.WORD_SIZE == 64
Expand All @@ -32,7 +32,7 @@ isfile("deps.jl") && rm("deps.jl")
provides(Binaries, URI(libfile), libtriangle)
else
libname = "libtriangle.so"
if is_apple()
if Sys.isapple()
libname = "libtriangle.dylib"
end
libfile = joinpath(libdir, libname)
Expand Down

0 comments on commit 7542322

Please sign in to comment.