Fix installer under OS X The installer was missing the StdRedirect.dylib after a recent change. This was breaking the Tutorial job on ci.bazel.io (and iOS builds using that installer). -- MOS_MIGRATED_REVID=111855462
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index ac1d520..df7e794 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh
@@ -167,10 +167,16 @@ fi # Build the packages + local ARGS= + if [[ $PLATFORM == "darwin" ]] && \ + xcodebuild -showsdks 2> /dev/null | grep -q '\-sdk iphonesimulator'; then + ARGS="--define IPHONE_SDK=1" + fi ./output/bazel --bazelrc=${BAZELRC:-/dev/null} --nomaster_bazelrc build \ --embed_label=${release_label} --stamp \ --workspace_status_command=scripts/ci/build_status_command.sh \ --define JAVA_VERSION=${JAVA_VERSION} \ + ${ARGS} \ //scripts/packages/... || exit $? if [ -n "${1-}" ]; then