diff options
author | Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> | 2020-12-14 14:04:25 +0100 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-12-14 11:23:53 -0800 |
commit | 919278e3e1db85b4acc517e5614cc6c7b3163aa4 (patch) | |
tree | ca72724d08e98a905520b872d271bc4b6d3fbb24 /mesonbuild/compilers/compilers.py | |
parent | 4053babf9cc240051df20576d1eed4f904eaa71e (diff) | |
download | meson-919278e3e1db85b4acc517e5614cc6c7b3163aa4.zip meson-919278e3e1db85b4acc517e5614cc6c7b3163aa4.tar.gz meson-919278e3e1db85b4acc517e5614cc6c7b3163aa4.tar.bz2 |
Give get_gui_app_args access to the Environment
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 e83514d..abb8af3 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -870,9 +870,9 @@ class Compiler(metaclass=abc.ABCMeta): def gnu_symbol_visibility_args(self, vistype: str) -> T.List[str]: return [] - def get_gui_app_args(self, value: bool) -> T.List[str]: + def get_gui_app_args(self, env: 'Environment', value: bool) -> T.List[str]: # Only used on Windows - return self.linker.get_gui_app_args(value) + return self.linker.get_gui_app_args(env, value) def get_win_subsystem_args(self, env: 'Environment', value: str) -> T.List[str]: # By default the dynamic linker is going to return an empty |