diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index 0afdfdf82..fe25067d6 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -345,6 +345,9 @@ class IntelFortranCompiler(IntelCompiler, FortranCompiler): val.remove('-pipe') return val + def language_stdlib_only_link_flags(self): + return ['-lifcore', '-limf'] + class PathScaleFortranCompiler(FortranCompiler): def __init__(self, exelist, version, is_cross, exe_wrapper=None, **kwags):