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 /mesonbuild/compilers/fortran.py | |
| parent | a7845d91aa896c22d0b09e2f25d393bbfe5e9553 (diff) | |
| download | meson-b17ab09eaf049bb4ce002419ec29cf1192bf7c57.tar.gz | |
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.
Diffstat (limited to 'mesonbuild/compilers/fortran.py')
| -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 fe25067d6..75db26d5b 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' |
