diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 09:08:26 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 86b2cf3d1da242e22e71e506159136dd40473d30 (patch) | |
| tree | 6da1a03c70954012dd20ac04b154b08a9707d82c /mesonbuild/dependencies | |
| parent | b8d25da6e22f6d7d1e39f9b9bbc2299fc1ad090a (diff) | |
| download | meson-86b2cf3d1da242e22e71e506159136dd40473d30.tar.gz | |
compilers: Remove Environment parameter from Compiler.has_function
Diffstat (limited to 'mesonbuild/dependencies')
| -rw-r--r-- | mesonbuild/dependencies/misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index 4b5d23b03..1035969ce 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -59,7 +59,7 @@ class AtomicBuiltinDependency(BuiltinDependency): super().__init__(name, env, kwargs) self.feature_since = ('1.7.0', "consider checking for `atomic_flag_clear` with and without `find_library('atomic')`") - if self.clib_compiler.has_function('atomic_flag_clear', '#include <stdatomic.h>', env)[0]: + if self.clib_compiler.has_function('atomic_flag_clear', '#include <stdatomic.h>')[0]: self.is_found = True @@ -80,7 +80,7 @@ class DlBuiltinDependency(BuiltinDependency): super().__init__(name, env, kwargs) self.feature_since = ('0.62.0', "consider checking for `dlopen` with and without `find_library('dl')`") - if self.clib_compiler.has_function('dlopen', '#include <dlfcn.h>', env)[0]: + if self.clib_compiler.has_function('dlopen', '#include <dlfcn.h>')[0]: self.is_found = True |
