From 9e98a1fafbc5b3a71e92feb9a91dd71f8a7bfdc3 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Tue, 14 Aug 2018 16:04:49 -0400 Subject: [PATCH] use new cp force keyword --- deps/compile.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/compile.jl b/deps/compile.jl index f44aa40..a057215 100644 --- a/deps/compile.jl +++ b/deps/compile.jl @@ -22,7 +22,7 @@ function compile(libname, tarball_url, hash; prefix=BinaryProvider.global_prefix run(`make`) run(`make install`) mkpath(libdir(prefix)) - cp("$install_dir/lib/libzmq.$dlext", joinpath(libdir(prefix), libname*"."*dlext), - remove_destination=true, follow_symlinks=true) + Compat.cp("$install_dir/lib/libzmq.$dlext", joinpath(libdir(prefix), libname*"."*dlext), + force=true, follow_symlinks=true) end end