]> spindle.queued.net Git - midori/commitdiff
Add '-mwindows' to LINKFLAGS on Win32 to suppress the console
authorChristian Dywan <christian@twotoasts.de>
Mon, 20 Jul 2009 05:45:41 +0000 (07:45 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 20 Jul 2009 05:45:41 +0000 (07:45 +0200)
wscript

diff --git a/wscript b/wscript
index 9abab8d5e3af1fa859c7c0af85f047ac33410483..df3f8bc82f21b96c5eb0c20df67630d1b3e4c3bb 100644 (file)
--- 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)