From a7845d91aa896c22d0b09e2f25d393bbfe5e9553 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 18 Oct 2018 13:53:40 -0700 Subject: [PATCH] ifort: ifort needs to have -lifcore like gfotran needs -lgfortran --- mesonbuild/compilers/fortran.py | 3 +++ 1 file changed, 3 insertions(+) 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):