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 d4563c9 commit da6b75b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sifdecoder.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function build_libsif(
if Sys.isapple()
libcutest = joinpath(libpath, "lib$library.$dlext")
run(
`gfortran -dynamiclib -o $libsif.$dlext $(object_files) -Wl,-rpath $libpath $libcutest`,
`gfortran -dynamiclib -o $libsif.$dlext $(object_files) -Wl,-rpath,$libpath $libcutest`,
)
elseif Sys.iswindows()
@static if Sys.iswindows()
Expand All @@ -151,7 +151,7 @@ function build_libsif(
else
libcutest = joinpath(libpath, "lib$library.$dlext")
run(
`gfortran -shared -o $libsif.$dlext $(object_files) -Wl,-rpath $libpath $libcutest`,
`gfortran -shared -o $libsif.$dlext $(object_files) -Wl,-rpath,$libpath $libcutest`,
)
end
delete_temp_files(suffix)
Expand Down

0 comments on commit da6b75b

Please sign in to comment.