aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers/linkers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2024-04-25 12:27:07 -0700
committerEli Schwartz <eschwartz93@gmail.com>2024-06-26 16:15:47 -0400
commit87681980bc8f49d8f3dbbcb0db8944a487575e96 (patch)
treed43c5cdc41998b941a16d3422e1a069549157d60 /mesonbuild/linkers/linkers.py
parentdbfd3e8c41b96d40511f9a683d9718e2aca32275 (diff)
downloadmeson-87681980bc8f49d8f3dbbcb0db8944a487575e96.zip
meson-87681980bc8f49d8f3dbbcb0db8944a487575e96.tar.gz
meson-87681980bc8f49d8f3dbbcb0db8944a487575e96.tar.bz2
compilers: pass Environment to openmp_flags
This will be needed by the Apple compiler
Diffstat (limited to 'mesonbuild/linkers/linkers.py')
-rw-r--r--mesonbuild/linkers/linkers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
index 7507f5a..f5e8080 100644
--- a/mesonbuild/linkers/linkers.py
+++ b/mesonbuild/linkers/linkers.py
@@ -62,7 +62,7 @@ class StaticLinker:
def thread_link_flags(self, env: 'Environment') -> T.List[str]:
return []
- def openmp_flags(self) -> T.List[str]:
+ def openmp_flags(self, env: Environment) -> T.List[str]:
return []
def get_option_link_args(self, options: 'KeyedOptionDictType') -> T.List[str]: