From 9fc26aee6fc1fb0b30322cee6c520678efee5213 Mon Sep 17 00:00:00 2001 From: apaz-cli Date: Tue, 27 Sep 2022 13:26:59 -0500 Subject: [PATCH] Added quotes around linked libs for ld, removed extra whitespace. --- test/runtests.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index c640d49..0b0f51b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -17,10 +17,10 @@ function run_test((test_name, test_expected_outputs, test_success), libblas_name if needs_m32() push!(cflags, "-m32") end - + ldflags = String[ # Teach it to find that libblas and its dependencies at build time - ("-L$(pathesc(libdir))" for libdir in libdirs)..., + ("\"-L$(pathesc(libdir))\"" for libdir in libdirs)..., "-l$(libblas_name)", ] @@ -38,7 +38,7 @@ function run_test((test_name, test_expected_outputs, test_success), libblas_name @error("compilation failed", srcdir, prefix=dir, cflags=join(cflags, " "), ldflags=join(ldflags, " ")) end @test success(p) - + env = Dict( # We need to tell it how to find CSL at run-time LIBPATH_env => append_libpath(libdirs),