Skip to content

Commit

Permalink
workaround for BinaryProvider issue
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Oct 19, 2018
1 parent f379d6b commit 3e6dca3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using BinaryProvider # requires BinaryProvider 0.3.0 or later
using Compat

# Parse some basic command-line arguments
const verbose = "--verbose" in ARGS
const prefix = Prefix(get([a for a in ARGS if a != "--verbose"], 1, joinpath(@__DIR__, "usr")))
products = [
LibraryProduct(prefix, ["libgsl"], :libgsl),
# work around for https://github.com/JuliaPackaging/BinaryProvider.jl/issues/133
LibraryProduct(prefix, [Compat.Sys.iswindows() ? "libgsl" : "libgsl."], :libgsl),
]

# Download binaries from hosted location
Expand Down

0 comments on commit 3e6dca3

Please sign in to comment.