Browse Source

game_launch: wscript: fix Windows build

pull/2/head
Alibek Omarov 2 years ago
parent
commit
7ed0499aa9
  1. 4
      game_launch/wscript

4
game_launch/wscript

@ -22,13 +22,15 @@ def configure(conf):
def build(bld): def build(bld):
libs = ['sdk_includes'] libs = ['sdk_includes']
source = ['game.cpp']
if bld.env.DEST_OS != 'win32': if bld.env.DEST_OS != 'win32':
libs += [ 'DL' ] libs += [ 'DL' ]
else: else:
libs += ['USER32', 'SHELL32'] libs += ['USER32', 'SHELL32']
source += ['game.rc'] source += ['game.rc']
bld(source = 'game.cpp', bld(source = source,
target = 'xash3d', # hl.exe target = 'xash3d', # hl.exe
features = 'c cxx cxxprogram', features = 'c cxx cxxprogram',
use = libs, use = libs,

Loading…
Cancel
Save