Skip to content

Commit

Permalink
Fix the compilation on Linux...
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Aug 21, 2024
1 parent d8c607f commit c3e4be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sifdecoder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c3e4be9

Please sign in to comment.