From b17ab09eaf049bb4ce002419ec29cf1192bf7c57 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 18 Oct 2018 14:23:52 -0700 Subject: compilers/fortran: pass -module ${path} instead of -module${path} ifort doesn't like the latter, and gfortran seems happy with the former. I don't have any of the other supported fortran compilers to test with. --- mesonbuild/compilers/fortran.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers') diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index fe25067..75db26d 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -169,7 +169,7 @@ end program prog return ('-I', ) def get_module_outdir_args(self, path): - return ['-module' + path] + return ['-module', path] def module_name_to_filename(self, module_name): return module_name.lower() + '.mod' -- cgit v1.1