default fortran lib to static so windows can be tested

This commit is contained in:
Michael Hirsch, Ph.D 2019-07-28 23:21:03 -04:00
parent 051e5e0e35
commit 902d0e579e
No known key found for this signature in database
GPG Key ID: 6D23CDADAB0294F9
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
project('Fortran calling C', 'fortran', 'c',
meson_version: '>= 0.51.0')
meson_version: '>= 0.51.0',
default_options : ['default_library=static'])
ccid = meson.get_compiler('c').get_id()
if ccid == 'msvc' or ccid == 'clang-cl'