diff options
Diffstat (limited to 'mesonbuild/compilers/mixins/emscripten.py')
-rw-r--r-- | mesonbuild/compilers/mixins/emscripten.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/compilers/mixins/emscripten.py b/mesonbuild/compilers/mixins/emscripten.py index 98513e5..945a67d 100644 --- a/mesonbuild/compilers/mixins/emscripten.py +++ b/mesonbuild/compilers/mixins/emscripten.py @@ -15,7 +15,7 @@ """Provides a mixin for shared code between C and C++ Emscripten compilers.""" import os.path -import typing +import typing as T from ...mesonlib import MesonException @@ -26,10 +26,10 @@ class EmscriptenMixin: def get_soname_args(self, *args, **kwargs): raise MesonException('Emscripten does not support shared libraries.') - def get_allow_undefined_link_args(self) -> typing.List[str]: + def get_allow_undefined_link_args(self) -> T.List[str]: return ['-s', 'ERROR_ON_UNDEFINED_SYMBOLS=0'] - def get_linker_output_args(self, output: str) -> typing.List[str]: + def get_linker_output_args(self, output: str) -> T.List[str]: return ['-o', output] def _get_compile_output(self, dirname, mode): |