diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-22 10:49:46 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-10-01 15:05:00 -0700 |
commit | 1513aa437dd397934eff176c81d742a78e54ddb9 (patch) | |
tree | fb45fca556eabd3fd1fd0e05335fd2f87e521cd5 /mesonbuild/compilers/compilers.py | |
parent | fe97977b00e2b3c0fec9bc85aa0bf3e11559802a (diff) | |
download | meson-1513aa437dd397934eff176c81d742a78e54ddb9.zip meson-1513aa437dd397934eff176c81d742a78e54ddb9.tar.gz meson-1513aa437dd397934eff176c81d742a78e54ddb9.tar.bz2 |
compilers: move split_shlib_to_parts to the base compiler
Only the GnuLikeCompiler overrides this, and it's implemented multiple
places
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
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, |