diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-02 14:03:32 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-07-15 10:59:22 -0700 |
commit | cd5360821a0d107dbc1a097ec93524fd9336b3e9 (patch) | |
tree | 04249ea4ee7318e2c8c1ef580a325f47797077c5 /mesonbuild/compilers/objc.py | |
parent | d68969f1691515b45f0f9d438aebb120059872d9 (diff) | |
download | meson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.zip meson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.tar.gz meson-cd5360821a0d107dbc1a097ec93524fd9336b3e9.tar.bz2 |
compilers: split gnu and gnulike compilers out of compilers
I debated a bit whether both classes really belong in the same module,
and decided that they do because the share a number of helpers.
Diffstat (limited to 'mesonbuild/compilers/objc.py')
-rw-r--r-- | mesonbuild/compilers/objc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/objc.py b/mesonbuild/compilers/objc.py index 44c414a..ec4aa1a 100644 --- a/mesonbuild/compilers/objc.py +++ b/mesonbuild/compilers/objc.py @@ -17,8 +17,9 @@ import typing from ..mesonlib import EnvironmentException, MachineChoice +from .compilers import Compiler, ClangCompiler from .mixins.clike import CLikeCompiler -from .compilers import Compiler, ClangCompiler, GnuCompiler +from .mixins.gnu import GnuCompiler class ObjCCompiler(CLikeCompiler, Compiler): def __init__(self, exelist, version, for_machine: MachineChoice, is_cross: bool, exe_wrap: typing.Optional[str]): |