Add '-mwindows' to LINKFLAGS on Win32 to suppress the console
This commit is contained in:
parent
ff104135de
commit
021a892678
1 changed files with 2 additions and 0 deletions
2
wscript
2
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)
|
||||
|
|
Loading…
Reference in a new issue