From 3e6dca30b8e7dc66dba93dfdef6cc056e561878e Mon Sep 17 00:00:00 2001 From: Simon Byrne Date: Fri, 19 Oct 2018 11:48:09 -0700 Subject: [PATCH] workaround for BinaryProvider issue --- deps/build.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/build.jl b/deps/build.jl index e9edff3..9ebb7fd 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -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