From be99d00e95be47d9f0414f6802e04336867ebd52 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 30 Sep 2020 14:15:52 -0700 Subject: [PATCH] linkers: Fix Xilink constructor --- mesonbuild/linkers.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py index ed28fa3cf..ad5a4f592 100644 --- a/mesonbuild/linkers.py +++ b/mesonbuild/linkers.py @@ -1171,8 +1171,11 @@ class XilinkDynamicLinker(VisualStudioLikeLinkerMixin, DynamicLinker): id = 'xilink' - def __init__(self, for_machine: mesonlib.MachineChoice, always_args: T.List[str], - *, version: str = 'unknown version'): + def __init__(self, for_machine: mesonlib.MachineChoice, always_args: T.List[str], *, + exelist: T.Optional[T.List[str]] = None, + prefix: T.Union[str, T.List[str]] = '', + machine: str = 'x86', version: str = 'unknown version', + direct: bool = True): super().__init__(['xilink.exe'], for_machine, '', always_args, version=version)