aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers
diff options
context:
space:
mode:
authormiebka <86464051+miebka@users.noreply.github.com>2021-06-30 21:44:05 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-07-01 01:58:24 +0300
commit3021f256ea8873aa5d37713775796406c81449c7 (patch)
tree32e9141627e74a4a17873919b1b93e6107244e2b /mesonbuild/linkers
parent6337e40115278fffd8b331d5a32324167e196c1b (diff)
downloadmeson-3021f256ea8873aa5d37713775796406c81449c7.zip
meson-3021f256ea8873aa5d37713775796406c81449c7.tar.gz
meson-3021f256ea8873aa5d37713775796406c81449c7.tar.bz2
C2000: linker uses now binary setting defined within the cross-file
Diffstat (limited to 'mesonbuild/linkers')
-rw-r--r--mesonbuild/linkers/linkers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py
index 6ebdbcb..4457330 100644
--- a/mesonbuild/linkers/linkers.py
+++ b/mesonbuild/linkers/linkers.py
@@ -982,9 +982,9 @@ class C2000DynamicLinker(DynamicLinker):
id = 'cl2000'
- def __init__(self, for_machine: mesonlib.MachineChoice,
+ def __init__(self, exelist: T.List[str], for_machine: mesonlib.MachineChoice,
*, version: str = 'unknown version'):
- super().__init__(['cl2000.exe'], for_machine, '', [],
+ super().__init__(exelist or ['cl2000.exe'], for_machine, '', [],
version=version)
def get_link_whole_for(self, args: T.List[str]) -> T.List[str]: