diff options
-rw-r--r-- | test cases/fortran/14 fortran links c/clib.def | 2 | ||||
-rw-r--r-- | test cases/fortran/14 fortran links c/meson.build | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test cases/fortran/14 fortran links c/clib.def b/test cases/fortran/14 fortran links c/clib.def new file mode 100644 index 0000000..4caeb24 --- /dev/null +++ b/test cases/fortran/14 fortran links c/clib.def @@ -0,0 +1,2 @@ +EXPORTS + hello diff --git a/test cases/fortran/14 fortran links c/meson.build b/test cases/fortran/14 fortran links c/meson.build index 163aec6..cd1369d 100644 --- a/test cases/fortran/14 fortran links c/meson.build +++ b/test cases/fortran/14 fortran links c/meson.build @@ -5,7 +5,7 @@ if ccid == 'msvc' or ccid == 'clang-cl' error('MESON_SKIP_TEST: MSVC and GCC do not interoperate like this.') endif -c_lib = library('clib', 'clib.c') +c_lib = library('clib', 'clib.c', vs_module_defs : 'clib.def') f_call_c = executable('f_call_c', 'f_call_c.f90', link_with: c_lib, |