From 4053babf9cc240051df20576d1eed4f904eaa71e Mon Sep 17 00:00:00 2001 From: Laurin-Luis Lehning <65224843+e820@users.noreply.github.com> Date: Mon, 14 Dec 2020 13:54:51 +0100 Subject: Slight consistency changes to get_gui_app_args --- mesonbuild/compilers/compilers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index b1452b2..e83514d 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -871,7 +871,8 @@ class Compiler(metaclass=abc.ABCMeta): return [] def get_gui_app_args(self, value: bool) -> T.List[str]: - return [] + # Only used on Windows + return self.linker.get_gui_app_args(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 -- cgit v1.1