aboutsummaryrefslogtreecommitdiff
path: root/unittests/linuxliketests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/linuxliketests.py')
-rw-r--r--unittests/linuxliketests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index 565b328..2177cdd 100644
--- a/unittests/linuxliketests.py
+++ b/unittests/linuxliketests.py
@@ -1,4 +1,4 @@
-# Copyright 2016-2021 The Meson development team
+# Copyright 2016-2022 The Meson development team
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1597,7 +1597,7 @@ class LinuxlikeTests(BasePlatformTests):
if isinstance(comp, (AppleClangCCompiler, AppleClangCPPCompiler,
AppleClangObjCCompiler, AppleClangObjCPPCompiler)):
raise SkipTest('AppleClang is currently only supported with ld64')
- if lang != 'rust' and comp.use_linker_args('bfd') == []:
+ if lang != 'rust' and comp.use_linker_args('bfd', '') == []:
raise SkipTest(
f'Compiler {comp.id} does not support using alternative linkers')
self.assertEqual(comp.linker.id, expected)