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:
parent
e47189e107
commit
35c75438be
5
wscript
5
wscript
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user