Fix shell build on Windows.

This commit is contained in:
David Anderson 2015-02-24 01:49:03 -08:00
parent 38d2c3690a
commit e58415f94a

View File

@ -78,6 +78,9 @@ shell.compiler.linkflags[0:0] = [libsourcepawn]
shell.sources += [
'dll_exports.cpp'
]
if shell.compiler.cc.behavior == 'msvc':
shell.compiler.linkflags.remove('/SUBSYSTEM:WINDOWS')
shell.compiler.linkflags.append('/SUBSYSTEM:CONSOLE')
if builder.target_platform == 'linux':
shell.compiler.postlink += ['-lpthread', '-lrt']