From 1513aa437dd397934eff176c81d742a78e54ddb9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 22 Sep 2020 10:49:46 -0700 Subject: compilers: move split_shlib_to_parts to the base compiler Only the GnuLikeCompiler overrides this, and it's implemented multiple places --- mesonbuild/compilers/compilers.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 01c087a..578f654 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1059,6 +1059,9 @@ class Compiler(metaclass=abc.ABCMeta): is good enough here. """ + def split_shlib_to_parts(self, fname: str) -> T.Tuple[T.Optional[str], str]: + return None, fname + def get_args_from_envvars(lang: str, for_machine: MachineChoice, -- cgit v1.1