wscript: fix win32 build

This commit is contained in:
Alibek Omarov
2018-10-08 22:27:54 +03:00
parent 48d1aa5115
commit 8ea5536b42
4 changed files with 18 additions and 4 deletions

View File

@@ -31,6 +31,7 @@ def configure(conf):
conf.env.append_unique('DEFINES', 'XASH_SDL')
else:
conf.check(lib='USER32')
conf.check(lib='SHELL32')
def get_subproject_name(ctx):
return os.path.basename(os.path.realpath(str(ctx.path)))
@@ -53,7 +54,7 @@ def build(bld):
else:
# compile resource on Windows
bld.load('winres')
libs += ['USER32']
libs += ['USER32', 'SHELL32']
source += ['game.rc']
bld(