Skip to content

Commit

Permalink
wscript: fix Sailfish misdetection
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jun 2, 2023
1 parent a23e17c commit 85cc942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ def configure(conf):
# check if we're in a sgug environment
if 'sgug' in os.environ['LD_LIBRARYN32_PATH']:
linkflags.append('-lc')
elif conf.env.SAILFISH != None:
elif conf.env.SAILFISH in ['aurora', 'sailfish']:
# TODO: enable XASH_MOBILE_PLATFORM
conf.define('XASH_SAILFISH', 1)
if conf.env.SAILFISH == "aurora":
if conf.env.SAILFISH == 'aurora':
conf.define('XASH_AURORAOS', 1)

# Do not warn us about bug in SDL_Audio headers
Expand Down

0 comments on commit 85cc942

Please sign in to comment.