2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-29 05:20:23 +01:00

wscript: only enable SINGLE_BINARY and XASH_SDLMAIN on android when SDL2 enabled

This commit is contained in:
mittorn 2023-12-13 21:24:49 +03:00
parent e47189e107
commit 35c75438be

View File

@ -241,8 +241,9 @@ def configure(conf):
conf.options.GL4ES = True
conf.options.GLES3COMPAT = True
conf.options.GL = False
conf.options.SINGLE_BINARY = True
conf.define('XASH_SDLMAIN', 1)
if conf.env.HAVE_SDL2:
conf.options.SINGLE_BINARY = True
conf.define('XASH_SDLMAIN', 1)
elif conf.env.MAGX:
conf.options.SDL12 = True
conf.options.NO_VGUI = True