aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 199bbab..fa06ae9 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -2461,6 +2461,10 @@ 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):
+ return ['-mwindows']
+ return []
class GnuCCompiler(GnuCompiler, CCompiler):
def __init__(self, exelist, version, gcc_type, is_cross, exe_wrapper=None, defines=None):