mirror of https://github.com/FWGS/xash3d-fwgs
wscript: only enable SINGLE_BINARY and XASH_SDLMAIN on android when SDL2 enabled
This commit is contained in:
parent
6fec0398b6
commit
9c097976df
3
wscript
3
wscript
|
@ -240,7 +240,8 @@ def configure(conf):
|
||||||
conf.options.GL4ES = True
|
conf.options.GL4ES = True
|
||||||
conf.options.GLES3COMPAT = True
|
conf.options.GLES3COMPAT = True
|
||||||
conf.options.GL = False
|
conf.options.GL = False
|
||||||
conf.define('XASH_SDLMAIN', 1)
|
if conf.env.HAVE_SDL2:
|
||||||
|
conf.define('XASH_SDLMAIN', 1)
|
||||||
elif conf.env.MAGX:
|
elif conf.env.MAGX:
|
||||||
conf.options.SDL12 = True
|
conf.options.SDL12 = True
|
||||||
conf.options.NO_VGUI = True
|
conf.options.NO_VGUI = True
|
||||||
|
|
Loading…
Reference in New Issue