add c2000 to ti library naming conditional so static libs are found

pull/13681/head
Jason Scott 4 weeks ago
parent 050b788ed8
commit 6e9e344bcf
  1. 4
      mesonbuild/compilers/mixins/clike.py

@ -1034,8 +1034,8 @@ class CLikeCompiler(Compiler):
elif env.machines[self.for_machine].is_cygwin():
shlibext = ['dll', 'dll.a']
prefixes = ['cyg'] + prefixes
elif self.id.lower() == 'c6000' or self.id.lower() == 'ti':
# TI C6000 compiler can use both extensions for static or dynamic libs.
elif self.id.lower() in {'c6000', 'c2000', 'ti'}:
# TI C28x compilers can use both extensions for static or dynamic libs.
stlibext = ['a', 'lib']
shlibext = ['dll', 'so']
else:

Loading…
Cancel
Save