diff options
author | georgev93 <georgeavogt93@gmail.com> | 2021-10-27 13:59:17 +0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-10-27 15:25:20 -0700 |
commit | 18e4b3f4f9f343510923fd21a24dd459e199f2d5 (patch) | |
tree | 75a8dff9bdead562f14ff7e8ed9e2c4a04bf5fb3 /mesonbuild/linkers/linkers.py | |
parent | ef255db73ad9d8f53a53cdeff49625e3a5802b25 (diff) | |
download | meson-18e4b3f4f9f343510923fd21a24dd459e199f2d5.zip meson-18e4b3f4f9f343510923fd21a24dd459e199f2d5.tar.gz meson-18e4b3f4f9f343510923fd21a24dd459e199f2d5.tar.bz2 |
Changing xc16's linker from 'xc16-gcc.exe' to 'xc16-gcc'. Windows will
still find the correct linker and now linux will be able to use its
xc16-gcc as the linker.
Diffstat (limited to 'mesonbuild/linkers/linkers.py')
-rw-r--r-- | mesonbuild/linkers/linkers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py index 334fc4f..5491558 100644 --- a/mesonbuild/linkers/linkers.py +++ b/mesonbuild/linkers/linkers.py @@ -893,7 +893,7 @@ class Xc16DynamicLinker(DynamicLinker): def __init__(self, for_machine: mesonlib.MachineChoice, *, version: str = 'unknown version'): - super().__init__(['xc16-gcc.exe'], for_machine, '', [], + super().__init__(['xc16-gcc'], for_machine, '', [], version=version) def get_link_whole_for(self, args: T.List[str]) -> T.List[str]: @@ -914,7 +914,7 @@ class Xc16DynamicLinker(DynamicLinker): return [f'-o{outputname}'] def get_search_args(self, dirname: str) -> 'T.NoReturn': - raise OSError('xc16-gcc.exe does not have a search dir argument') + raise OSError('xc16-gcc does not have a search dir argument') def get_allow_undefined_args(self) -> T.List[str]: return [] |