diff options
Diffstat (limited to 'mesonbuild/compilers/mixins/visualstudio.py')
| -rw-r--r-- | mesonbuild/compilers/mixins/visualstudio.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/compilers/mixins/visualstudio.py b/mesonbuild/compilers/mixins/visualstudio.py index f3d3ae96e..bd70ec1ab 100644 --- a/mesonbuild/compilers/mixins/visualstudio.py +++ b/mesonbuild/compilers/mixins/visualstudio.py @@ -367,7 +367,7 @@ class VisualStudioLikeCompiler(Compiler, metaclass=abc.ABCMeta): def get_argument_syntax() -> str: return 'msvc' - def symbols_have_underscore_prefix(self, env: 'Environment') -> bool: + def symbols_have_underscore_prefix(self) -> bool: ''' Check if the compiler prefixes an underscore to global C symbols. @@ -377,12 +377,12 @@ class VisualStudioLikeCompiler(Compiler, metaclass=abc.ABCMeta): ''' # Try to consult a hardcoded list of cases we know # absolutely have an underscore prefix - result = self._symbols_have_underscore_prefix_list(env) + result = self._symbols_have_underscore_prefix_list() if result is not None: return result # As a last resort, try search in a compiled binary - return self._symbols_have_underscore_prefix_searchbin(env) + return self._symbols_have_underscore_prefix_searchbin() def get_pie_args(self) -> T.List[str]: return [] |
