From 85cc942a3cd449910ce0517d54fcbc1725e4e8b8 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 2 Jun 2023 06:35:51 +0300 Subject: [PATCH] wscript: fix Sailfish misdetection --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 6dd5e6ec..4838ee9c 100644 --- a/wscript +++ b/wscript @@ -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