Add '-mwindows' to LINKFLAGS on Win32 to suppress the console

This commit is contained in:
Christian Dywan 2009-07-20 07:45:41 +02:00
parent ff104135de
commit 021a892678

View file

@ -240,6 +240,8 @@ def configure (conf):
conf.check (function_name='inet_aton') conf.check (function_name='inet_aton')
conf.check (function_name='inet_addr') conf.check (function_name='inet_addr')
conf.define ('HAVE_OSX', int(sys.platform == 'darwin')) 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_VERSION', VERSION)
conf.define ('PACKAGE_NAME', APPNAME) conf.define ('PACKAGE_NAME', APPNAME)