Skip to content

Commit 97f6cdf

Browse files
committed
dedicated: Fix build on Windows
1 parent 7a3b3cd commit 97f6cdf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dedicated/wscript

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def build(bld):
3838

3939
if bld.env.DEST_OS == 'win32':
4040
source += [
41-
'sys_windows.cpp'
41+
'sys_windows.cpp',
42+
'console/TextConsoleWin32.cpp'
4243
]
4344
else:
4445
source += [
@@ -59,6 +60,9 @@ def build(bld):
5960

6061
libs = ['tier0','vpklib','tier1','tier2','tier3','vstdlib','steam_api','appframework','mathlib', 'EDIT']
6162

63+
if bld.env.DEST_OS == 'win32':
64+
libs += ['vgui_controls', 'USER32', 'SHELL32']
65+
6266
install_path = bld.env.LIBDIR
6367

6468
bld.shlib(

0 commit comments

Comments
 (0)