From 021a8926787926fb0c618578d7c445fbcd23813d Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 20 Jul 2009 07:45:41 +0200 Subject: [PATCH] Add '-mwindows' to LINKFLAGS on Win32 to suppress the console --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index 9abab8d5..df3f8bc8 100644 --- a/wscript +++ b/wscript @@ -240,6 +240,8 @@ def configure (conf): conf.check (function_name='inet_aton') conf.check (function_name='inet_addr') conf.define ('HAVE_OSX', int(sys.platform == 'darwin')) + if Options.platform == 'win32': + conf.env.append_value ('LINKFLAGS', '-mwindows') conf.define ('PACKAGE_VERSION', VERSION) conf.define ('PACKAGE_NAME', APPNAME) -- 2.39.5