Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ludvigak committed Oct 19, 2018
1 parent 1ece544 commit 936d7bb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ provides(Sources,
unpacked_dir = "finufft-1.0")

rootdir = joinpath(BinDeps.srcdir(libfinufft), "finufft-1.0")
libname = "libfinufft." * Libdl.dlext
if Sys.KERNEL == :Darwin
libname = "libfinufft.1." * Libdl.dlext
else
libname = "libfinufft." * Libdl.dlext
end
libfile = joinpath(BinDeps.libdir(libfinufft),libname)
buildfile = joinpath(rootdir, "lib", "libfinufft.so")

Expand All @@ -47,7 +51,6 @@ buildfile = joinpath(rootdir, "lib", "libfinufft.so")

if Sys.KERNEL == :Darwin
buildcmd = `make lib/libfinufft.so LIBRARY_PATH=$lib CPATH=$inc CXX=g++-8 CC=gcc-8`
libname = "libfinufft.1." * Libdl.dlext
else
buildcmd = `make lib/libfinufft.so LIBRARY_PATH=$lib CPATH=$inc`
end
Expand Down

0 comments on commit 936d7bb

Please sign in to comment.