ninjabackend: cython doesn't use a linker

pull/8706/head
Dylan Baker 4 years ago
parent 4d1cbd1b8a
commit 80cdbe41bd
  1. 5
      mesonbuild/backend/ninjabackend.py

@ -1889,10 +1889,7 @@ int dummy;
for for_machine in MachineChoice: for for_machine in MachineChoice:
complist = self.environment.coredata.compilers[for_machine] complist = self.environment.coredata.compilers[for_machine]
for langname, compiler in complist.items(): for langname, compiler in complist.items():
if langname == 'java' \ if langname in {'java', 'vala', 'rust', 'cs', 'cython'}:
or langname == 'vala' \
or langname == 'rust' \
or langname == 'cs':
continue continue
rule = '{}_LINKER{}'.format(langname, self.get_rule_suffix(for_machine)) rule = '{}_LINKER{}'.format(langname, self.get_rule_suffix(for_machine))
command = compiler.get_linker_exelist() command = compiler.get_linker_exelist()

Loading…
Cancel
Save