diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-11 17:56:48 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-08-15 06:17:58 -0700 |
commit | 94f09a84542862d474a0be9429dc9498cb303e12 (patch) | |
tree | b7b6e7abda884f0467f339accf8c46ebe14d612d /mesonbuild/compilers/compilers.py | |
parent | 399f8553b7b3e7069d897cada2b61c4c358d0ddf (diff) | |
download | meson-94f09a84542862d474a0be9429dc9498cb303e12.zip meson-94f09a84542862d474a0be9429dc9498cb303e12.tar.gz meson-94f09a84542862d474a0be9429dc9498cb303e12.tar.bz2 |
Explicitly set the Windows subsystem for ninja/VisualC
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 ea0fc2c..381b995 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1277,8 +1277,8 @@ class GnuCompiler: # For other targets, discard the .def file. return [] - def get_gui_app_args(self): - if self.gcc_type in (GCC_CYGWIN, GCC_MINGW): + def get_gui_app_args(self, value): + if self.gcc_type in (GCC_CYGWIN, GCC_MINGW) and value: return ['-mwindows'] return [] |