Skip to content

Commit

Permalink
Fix "compile.sh tools" on OS X when XCode is not installed
Browse files Browse the repository at this point in the history
Fixes bazelbuild#262.

--
MOS_MIGRATED_REVID=101126149
  • Loading branch information
kchodorow authored and dslomov committed Aug 21, 2015
1 parent faff718 commit 5b378db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ if [ $DO_TOOLS_COMPILATION ]; then
tools/objc/precomp_plmerge_deploy.jar
bazel_bootstrap //src/objc_tools/xcodegen:xcodegen_deploy.jar \
tools/objc/precomp_xcodegen_deploy.jar
bazel_bootstrap //src/tools/xcode/stdredirect:StdRedirect.dylib \
tools/objc/StdRedirect.dylib 0755
if xcodebuild -showsdks 2> /dev/null | grep -q '\-sdk iphonesimulator'; then
bazel_bootstrap //src/tools/xcode/stdredirect:StdRedirect.dylib \
tools/objc/StdRedirect.dylib 0755
fi
bazel_bootstrap //src/tools/xcode/realpath:realpath tools/objc/realpath 0755
fi
fi
Expand Down

0 comments on commit 5b378db

Please sign in to comment.