summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-10-31 11:04:52 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit0505da775e992485eb689827df8d5d76adf02c75 (patch)
tree0a782d67b0cf484d5e4b2712ecfb2b57e0b90ba7 /mesonbuild/dependencies
parente6a8aea750a0eafe26e5470fa5c33eb1e61b768b (diff)
downloadmeson-0505da775e992485eb689827df8d5d76adf02c75.tar.gz
Compilers: remove Environment parameter from Compiler.links()
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/misc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index 0fdbdd638..3e0bb305b 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -412,7 +412,7 @@ class IconvBuiltinDependency(BuiltinDependency):
self.feature_since = ('0.60.0', "consider checking for `iconv_open` with and without `find_library('iconv')`")
code = '''#include <iconv.h>\n\nint main() {\n iconv_open("","");\n}''' # [ignore encoding] this is C, not python, Mr. Lint
- if self.clib_compiler.links(code, env)[0]:
+ if self.clib_compiler.links(code)[0]:
self.is_found = True
@@ -434,7 +434,7 @@ class IntlBuiltinDependency(BuiltinDependency):
self.feature_since = ('0.59.0', "consider checking for `ngettext` with and without `find_library('intl')`")
code = '''#include <libintl.h>\n\nint main() {\n gettext("Hello world");\n}'''
- if self.clib_compiler.links(code, env)[0]:
+ if self.clib_compiler.links(code)[0]:
self.is_found = True