dedicated: Fix build on Windows

This commit is contained in:
Dmitry Tsarevich 2023-12-02 23:59:49 +03:00
parent 7a3b3cd96f
commit 97f6cdfbe2
No known key found for this signature in database
GPG Key ID: 43F9C46DD0E9FDB0

View File

@ -38,7 +38,8 @@ def build(bld):
if bld.env.DEST_OS == 'win32':
source += [
'sys_windows.cpp'
'sys_windows.cpp',
'console/TextConsoleWin32.cpp'
]
else:
source += [
@ -59,6 +60,9 @@ def build(bld):
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
bld.shlib(