From 4ba06fb4ddf2f314ad8bb384bf8b7e65ef73c95e Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Sun, 14 Jun 2020 23:48:25 -0400 Subject: [PATCH] test:fortran7: default static so Intel/VS-based compilers pass we did the same thing earlier with other Fortran tests for the same reason. --- test cases/fortran/7 generated/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test cases/fortran/7 generated/meson.build b/test cases/fortran/7 generated/meson.build index b01ddc9f4..b555b1744 100644 --- a/test cases/fortran/7 generated/meson.build +++ b/test cases/fortran/7 generated/meson.build @@ -1,15 +1,15 @@ # Tests whether fortran sources files created during configuration are properly # scanned for dependency information -project('generated', 'fortran') +project('generated', 'fortran', + default_options : ['default_library=static']) conf_data = configuration_data() conf_data.set('ONE', 1) conf_data.set('TWO', 2) conf_data.set('THREE', 3) -outfile = configure_file( - input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data) +configure_file(input : 'mod3.fpp', output : 'mod3.f90', configuration : conf_data) # Manually build absolute path to source file to test # https://github.com/mesonbuild/meson/issues/7265 three = library('mod3', meson.current_build_dir() / 'mod3.f90')