diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-02-24 10:30:05 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-02-27 16:35:02 -0800 |
commit | 64f3174daa54a2ef8cf63df94921919717057243 (patch) | |
tree | 676ec5aaa0fc33949eb54da0f960a6dd19bb0303 /mesonbuild/compilers/c.py | |
parent | fa3c25d279509c4fe09717c5146cb656025ab685 (diff) | |
download | meson-64f3174daa54a2ef8cf63df94921919717057243.zip meson-64f3174daa54a2ef8cf63df94921919717057243.tar.gz meson-64f3174daa54a2ef8cf63df94921919717057243.tar.bz2 |
compilers/emcc: Fix inheritance order
Sot hat the BasicLinkerIsCompilerMixin comes before ClangCCompiler,
which hides its "call the linker" methods, as emcc doesn't have a
separate linker.
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r-- | mesonbuild/compilers/c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 87f48e6..e27eb90 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -133,7 +133,7 @@ class AppleClangCCompiler(ClangCCompiler): _C18_VERSION = '>=11.0.0' -class EmscriptenCCompiler(LinkerEnvVarsMixin, EmscriptenMixin, BasicLinkerIsCompilerMixin, ClangCCompiler): +class EmscriptenCCompiler(BasicLinkerIsCompilerMixin, LinkerEnvVarsMixin, EmscriptenMixin, ClangCCompiler): def __init__(self, exelist, version, for_machine: MachineChoice, is_cross: bool, info: 'MachineInfo', exe_wrapper=None, **kwargs): if not is_cross: |