diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-10-18 14:23:52 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-11-15 18:42:25 -0800 |
commit | b17ab09eaf049bb4ce002419ec29cf1192bf7c57 (patch) | |
tree | 9f245aa238abec3fc699a6c6fc476f4e43636222 | |
parent | a7845d91aa896c22d0b09e2f25d393bbfe5e9553 (diff) | |
download | meson-b17ab09eaf049bb4ce002419ec29cf1192bf7c57.zip meson-b17ab09eaf049bb4ce002419ec29cf1192bf7c57.tar.gz meson-b17ab09eaf049bb4ce002419ec29cf1192bf7c57.tar.bz2 |
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.
-rw-r--r-- | mesonbuild/compilers/fortran.py | 2 |
1 files changed, 1 insertions, 1 deletions
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' |