summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake/xcodemake5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/xcodemake b/make/xcodemake
index b4b6bad94..0eaab1fec 100755
--- a/make/xcodemake
+++ b/make/xcodemake
@@ -174,6 +174,11 @@ else
jobs=--jobs=$EXTERNAL_JOBS
fi
+## when driving from terminal; ensure $SYMROOT/external/ exists relative to SYMROOT
+if [ "$EXTERNAL_DRIVER" == "terminal" -a ! -e "$SYMROOT/external" ]; then
+ ln -s "$EXTERNAL_BUILD" "$SYMROOT/external"
+fi
+
## pull the trigger
## must set XCODE.driver to prevent inifinite recursion
set -x