From 1099cea02d63e21c00f9cdfc67f8ef4418aad9fc Mon Sep 17 00:00:00 2001 From: Petr Machacek Date: Sat, 9 Dec 2023 08:41:00 +0100 Subject: [PATCH] Added naming pattern for TI arm compilers. --- mesonbuild/compilers/mixins/clike.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index ee888fe9d6fa..4275b8f69179 100644 --- a/mesonbuild/compilers/mixins/clike.py +++ b/mesonbuild/compilers/mixins/clike.py @@ -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: