summaryrefslogtreecommitdiffstats
path: root/make/xcodemake
diff options
context:
space:
mode:
authorkonablend <[email protected]>2012-01-17 22:56:10 +0000
committerkonablend <[email protected]>2012-01-17 22:56:10 +0000
commit023c983ae5b65e3c0cd65d2aea3f17014fddbb24 (patch)
tree182eb276623deb1b675d3544d42df75b6c097d99 /make/xcodemake
parent73f82c35d84e980858a03cc2a8242554332e91af (diff)
BuildSystem: Mac OS X - fix terminal-driven build to relink when contrib products change
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4414 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/xcodemake')
-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