From: Christian Dywan Date: Mon, 20 Jul 2009 05:45:41 +0000 (+0200) Subject: Add '-mwindows' to LINKFLAGS on Win32 to suppress the console X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=021a8926787926fb0c618578d7c445fbcd23813d;p=midori Add '-mwindows' to LINKFLAGS on Win32 to suppress the console --- 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)