diff --git a/scripts/build_motomagx_engine.sh b/scripts/build_motomagx_engine.sh index d9e20d0d..b57f4cc1 100755 --- a/scripts/build_motomagx_engine.sh +++ b/scripts/build_motomagx_engine.sh @@ -28,7 +28,7 @@ export SWAP_PATH=$HOME/xash.swap cd $mypath sleep 1 -exec $mypath/xash3d -dev $@ +exec $mypath/xash -dev $@ EOF diff --git a/wscript b/wscript index 09241505..1f7f3cd3 100644 --- a/wscript +++ b/wscript @@ -136,6 +136,8 @@ def configure(conf): conf.options.NO_VGUI = True conf.options.GL = False conf.options.LOW_MEMORY = 1 + conf.options.SINGLE_BINARY = True + conf.define('XASH_SDLMAIN', 1) enforce_pic = False # useless to change toolchain path, as toolchain meant to be placed in this path