Skip to content

Commit

Permalink
try getting libquadmath as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Mather committed Nov 21, 2023
1 parent 085ec8a commit aa843b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ add_languages('fortran')

platform = host_machine.system()
if platform == 'windows'
add_project_link_arguments('-static,-lquadmath', language: ['fortran', 'c'])
add_project_link_arguments('-static', language: ['fortran', 'c'])
m_dep = dependency('libquadmath', required: true)
elif platform == 'darwin'
add_project_link_arguments('-Wl,-rpath, "@loader_path"', language: ['fortran', 'c'])
else
Expand Down

0 comments on commit aa843b1

Please sign in to comment.