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 000000000..4caeb24a9 --- /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 163aec6eb..cd1369d1e 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,