From 7ed0499aa9d250ac233cd76f6cd5cd0be6e5dba7 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 10 Sep 2022 22:14:50 +0300 Subject: [PATCH] game_launch: wscript: fix Windows build --- game_launch/wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game_launch/wscript b/game_launch/wscript index d4ed3ae0..138d6911 100644 --- a/game_launch/wscript +++ b/game_launch/wscript @@ -22,13 +22,15 @@ def configure(conf): def build(bld): libs = ['sdk_includes'] + source = ['game.cpp'] + if bld.env.DEST_OS != 'win32': libs += [ 'DL' ] else: libs += ['USER32', 'SHELL32'] source += ['game.rc'] - bld(source = 'game.cpp', + bld(source = source, target = 'xash3d', # hl.exe features = 'c cxx cxxprogram', use = libs,