Browse Source

dedicated: Fix build on Windows

pull/322/head
Dmitry Tsarevich 12 months ago
parent
commit
97f6cdfbe2
No known key found for this signature in database
GPG Key ID: 43F9C46DD0E9FDB0
  1. 6
      dedicated/wscript

6
dedicated/wscript

@ -38,7 +38,8 @@ def build(bld):
if bld.env.DEST_OS == 'win32': if bld.env.DEST_OS == 'win32':
source += [ source += [
'sys_windows.cpp' 'sys_windows.cpp',
'console/TextConsoleWin32.cpp'
] ]
else: else:
source += [ source += [
@ -59,6 +60,9 @@ def build(bld):
libs = ['tier0','vpklib','tier1','tier2','tier3','vstdlib','steam_api','appframework','mathlib', 'EDIT'] libs = ['tier0','vpklib','tier1','tier2','tier3','vstdlib','steam_api','appframework','mathlib', 'EDIT']
if bld.env.DEST_OS == 'win32':
libs += ['vgui_controls', 'USER32', 'SHELL32']
install_path = bld.env.LIBDIR install_path = bld.env.LIBDIR
bld.shlib( bld.shlib(

Loading…
Cancel
Save