summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/android/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index f9dae9b48..1069d93b1 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -282,6 +282,12 @@ else
fi
# Should we build the mobile ui or the desktop ui?
+# doing this backwards in order not to break people's setup
+if [ "$SUBSURFACE_DESKTOP" = "ON" ] ; then
+ SUBSURFACE_MOBILE=
+else
+ SUBSURFACE_MOBILE="ON"
+fi
if [ ! -z "$SUBSURFACE_MOBILE" ] ; then
mkdir -p subsurface-mobile-build-$ARCH
cd subsurface-mobile-build-$ARCH