diff options
author | Jan Janssen <medhefgo@web.de> | 2023-01-09 17:09:57 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2023-01-09 11:41:52 -0800 |
commit | 9f6b1b8a6844b9789c75b7e09fd716fe75f7be36 (patch) | |
tree | 60e1abfc9a9774f88dc3ec88bb065150b327d73b /mesonbuild/linkers | |
parent | cb20486f37c0dfce60e541e512d2ceaa6e0b701e (diff) | |
download | meson-9f6b1b8a6844b9789c75b7e09fd716fe75f7be36.zip meson-9f6b1b8a6844b9789c75b7e09fd716fe75f7be36.tar.gz meson-9f6b1b8a6844b9789c75b7e09fd716fe75f7be36.tar.bz2 |
linkers: Fix lld detection
This was actually probing bfd without always_args passed.
Fixes: #10763
Diffstat (limited to 'mesonbuild/linkers')
-rw-r--r-- | mesonbuild/linkers/linkers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py index cf2d339..00b2749 100644 --- a/mesonbuild/linkers/linkers.py +++ b/mesonbuild/linkers/linkers.py @@ -869,7 +869,7 @@ class LLVMDynamicLinker(GnuLikeDynamicLinkerMixin, PosixDynamicLinkerMixin, Dyna super().__init__(exelist, for_machine, prefix_arg, always_args, version=version) # Some targets don't seem to support this argument (windows, wasm, ...) - _, _, e = mesonlib.Popen_safe(self.exelist + self._apply_prefix('--allow-shlib-undefined')) + _, _, e = mesonlib.Popen_safe(self.exelist + always_args + self._apply_prefix('--allow-shlib-undefined')) # Versions < 9 do not have a quoted argument self.has_allow_shlib_undefined = ('unknown argument: --allow-shlib-undefined' not in e) and ("unknown argument: '--allow-shlib-undefined'" not in e) |