From 97f6cdfbe2a20bd19c30e2488f068d40a56d712d Mon Sep 17 00:00:00 2001 From: Dmitry Tsarevich Date: Sat, 2 Dec 2023 23:59:49 +0300 Subject: [PATCH] dedicated: Fix build on Windows --- dedicated/wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dedicated/wscript b/dedicated/wscript index 11e56fd0..c6a10155 100755 --- a/dedicated/wscript +++ b/dedicated/wscript @@ -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(