mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 19:10:37 +00:00
wscript: fix Sailfish misdetection
This commit is contained in:
parent
a23e17c6d7
commit
85cc942a3c
4
wscript
4
wscript
@ -261,10 +261,10 @@ def configure(conf):
|
|||||||
# check if we're in a sgug environment
|
# check if we're in a sgug environment
|
||||||
if 'sgug' in os.environ['LD_LIBRARYN32_PATH']:
|
if 'sgug' in os.environ['LD_LIBRARYN32_PATH']:
|
||||||
linkflags.append('-lc')
|
linkflags.append('-lc')
|
||||||
elif conf.env.SAILFISH != None:
|
elif conf.env.SAILFISH in ['aurora', 'sailfish']:
|
||||||
# TODO: enable XASH_MOBILE_PLATFORM
|
# TODO: enable XASH_MOBILE_PLATFORM
|
||||||
conf.define('XASH_SAILFISH', 1)
|
conf.define('XASH_SAILFISH', 1)
|
||||||
if conf.env.SAILFISH == "aurora":
|
if conf.env.SAILFISH == 'aurora':
|
||||||
conf.define('XASH_AURORAOS', 1)
|
conf.define('XASH_AURORAOS', 1)
|
||||||
|
|
||||||
# Do not warn us about bug in SDL_Audio headers
|
# Do not warn us about bug in SDL_Audio headers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user