Fix shell build on Windows.
This commit is contained in:
parent
38d2c3690a
commit
e58415f94a
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user