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.
pull/4359/head
Dylan Baker 6 years ago
parent a7845d91aa
commit b17ab09eaf
  1. 2
      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'

Loading…
Cancel
Save