diff options
author | Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> | 2020-12-14 13:43:36 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-12-14 11:23:53 -0800 |
commit | 9de09e9aa6e5b300e1b05b827462f215607e10a2 (patch) | |
tree | 5ef46377b051ec3c69cdc20b1361725a94d35fbd /mesonbuild/compilers/compilers.py | |
parent | 2fb4d1f7512a4ec125883fd65115ab33a5b06b6f (diff) | |
download | meson-9de09e9aa6e5b300e1b05b827462f215607e10a2.zip meson-9de09e9aa6e5b300e1b05b827462f215607e10a2.tar.gz meson-9de09e9aa6e5b300e1b05b827462f215607e10a2.tar.bz2 |
Give get_win_subsystem_args access to env
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index ec255a8..b1452b2 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -873,11 +873,11 @@ class Compiler(metaclass=abc.ABCMeta): def get_gui_app_args(self, value: bool) -> T.List[str]: return [] - def get_win_subsystem_args(self, value: str) -> T.List[str]: + def get_win_subsystem_args(self, env: 'Environment', value: str) -> T.List[str]: # By default the dynamic linker is going to return an empty # array in case it either doesn't support Windows subsystems # or does not target Windows - return self.linker.get_win_subsystem_args(value) + return self.linker.get_win_subsystem_args(env, value) def has_func_attribute(self, name: str, env: 'Environment') -> T.Tuple[bool, bool]: raise EnvironmentException( |