From c3e4be910e3bf44645eee282079393e6e75c06a2 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Wed, 21 Aug 2024 00:56:02 -0400 Subject: [PATCH] Fix the compilation on Linux... --- src/sifdecoder.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sifdecoder.jl b/src/sifdecoder.jl index 431bf675..41334f6e 100644 --- a/src/sifdecoder.jl +++ b/src/sifdecoder.jl @@ -149,8 +149,9 @@ function build_libsif( ) end else + libgfortran = strip(read(`gfortran --print-file libgfortran.so`, String)) run( - `ld -shared -o $libsif.$dlext $(object_files) -rpath=$libpath -L$libpath -l$library -lgfortran`, + `ld -shared -o $libsif.$dlext $(object_files) -rpath=$libpath -L$libpath -l$library $libgfortran`, ) end delete_temp_files(suffix)