aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorJustin Blanchard <UncombedCoconut@gmail.com>2022-07-19 22:31:21 -0400
committerDylan Baker <dylan@pnwbakers.com>2022-07-21 22:00:00 -0700
commitec388fe7c2b93879499ad782c2da41ec22d003b2 (patch)
treec37c73c03f009f77ea1838327df719f6a5b2763e /unittests
parent0eed99318b88fbb0c938345e19dc7259cb2ae4b2 (diff)
downloadmeson-ec388fe7c2b93879499ad782c2da41ec22d003b2.zip
meson-ec388fe7c2b93879499ad782c2da41ec22d003b2.tar.gz
meson-ec388fe7c2b93879499ad782c2da41ec22d003b2.tar.bz2
ar linker: detect the "osx ld" case (where generating thin archives won't work) based on host OS, not build OS.
Diffstat (limited to 'unittests')
-rw-r--r--unittests/allplatformstests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index cdb3867..5179ce1 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -1450,7 +1450,7 @@ class AllPlatformTests(BasePlatformTests):
extra_args = []
link_cmd = linker.get_exelist()
link_cmd += linker.get_always_args()
- link_cmd += linker.get_std_link_args(False)
+ link_cmd += linker.get_std_link_args(get_fake_env(), False)
link_cmd += linker.get_output_args(outfile)
link_cmd += [objectfile]
self.pbcompile(compiler, source, objectfile, extra_args=extra_args)