Revision
534
Author
wsiegrist@apple.com
Date
2009-07-16 10:04:45 -0700 (Thu, 16 Jul 2009)

Log Message

Add symlinks for XCD libexec so migcom can be used out of bootstrap_cmds

Modified Paths

Diff

Modified: trunk/darwinbuild/installXcode31 (533 => 534)


--- trunk/darwinbuild/installXcode31	2009-07-16 16:25:24 UTC (rev 533)
+++ trunk/darwinbuild/installXcode31	2009-07-16 17:04:45 UTC (rev 534)
@@ -34,6 +34,8 @@
     strip \
     yacc)
     
+LIBEXECLINKS=( \
+    migcom)
 
 JAMFILES="/Developer/Makefiles/pbx_jamfiles"
 #XCODERESOURCES="/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/Resources/"
@@ -54,15 +56,24 @@
 ###
 SymlinkBinaries() {
     echo "Creating symlinks for binaries ..."
+	
     BIN_DIR="$BUILDROOT/XCD/loper/usr/bin/"
     mkdir -p $BIN_DIR
     pushd $BIN_DIR > /dev/null
-    
     for B in "${BINSYMLINKS[@]}"; do
 	ln -s "/usr/bin/$B" "$B"
     done
+    popd > /dev/null
 
+    LIBEXEC_DIR="$BUILDROOT/XCD/loper/usr/libexec/"
+    mkdir -p $LIBEXEC_DIR
+    pushd $LIBEXEC_DIR > /dev/null
+    for L in "${LIBEXECLINKS[@]}"; do
+	ln -s "/usr/libexec/$L" "$L"
+    done
     popd > /dev/null
+	
+
 }
 
 ###