mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: use lower-case win32 libraries names for crosscompiling from Linux
This commit is contained in:
@@ -18,8 +18,8 @@ def configure(conf):
|
||||
# check for dedicated server build
|
||||
if not conf.env.DEDICATED:
|
||||
if conf.env.DEST_OS == 'win32':
|
||||
conf.check(lib='USER32')
|
||||
conf.check(lib='SHELL32')
|
||||
conf.check(lib='user32')
|
||||
conf.check(lib='shell32')
|
||||
|
||||
def get_subproject_name(ctx):
|
||||
return os.path.basename(os.path.realpath(str(ctx.path)))
|
||||
@@ -40,7 +40,7 @@ def build(bld):
|
||||
else:
|
||||
# compile resource on Windows
|
||||
bld.load('winres')
|
||||
libs += ['USER32', 'SHELL32']
|
||||
libs += ['user32', 'shell32']
|
||||
source += ['game.rc']
|
||||
|
||||
bld(
|
||||
|
||||
Reference in New Issue
Block a user