Skip to content

Commit

Permalink
Added naming pattern for TI arm compilers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Machacek committed Dec 9, 2023
1 parent 23b8d3c commit 1099cea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesonbuild/compilers/mixins/clike.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,8 +1061,8 @@ def get_library_naming(self, env: 'Environment', libtype: LibType, strict: bool
elif env.machines[self.for_machine].is_cygwin():
shlibext = ['dll', 'dll.a']
prefixes = ['cyg'] + prefixes
elif self.id.lower() == 'c6000':
# TI C6000 compiler can use both extensions for static or dynamic libs.
elif self.id.lower() == 'c6000' or self.id.lower() == 'ti':
# TI C6000 or TI arm compilers can use both extensions for static or dynamic libs.
stlibext = ['a', 'lib']
shlibext = ['dll', 'so']
else:
Expand Down

0 comments on commit 1099cea

Please sign in to comment.