From 08b3de08e771eafa4b1699a55ef8f2f219c31c88 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 7 Nov 2019 05:07:10 +0300 Subject: [PATCH] wscript: use SINGLE_BINARY on motomagx --- scripts/build_motomagx_engine.sh | 2 +- wscript | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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