diff options
author | aehlig <aehlig@google.com> | 2017-04-18 16:31:34 +0200 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2017-04-18 16:41:48 +0200 |
commit | b6cc4c1d35cfc8427ab3ed94b9e8c1f38cd910e0 (patch) | |
tree | 90853914e45dd111a43e14d0d488b9c36ba5ad97 /tools/objc | |
parent | 7a90b9a409bea4a69e0c80d418c6193d64c8eb3f (diff) |
Automated g4 rollback of commit 501b62716af12ba42c019bd9f231468b3c144757.
*** Reason for rollback ***
Broke //src/test/shell/bazel:cc_inc_library_test on darwin
see http://ci.bazel.io/job/bazel-tests/BAZEL_VERSION=HEAD,PLATFORM_NAME=darwin-x86_64/704/console
*** Original change description ***
Basic open-source crosstool to support targetting apple platform types.
RELNOTES: None.
PiperOrigin-RevId: 153460334
Diffstat (limited to 'tools/objc')
-rwxr-xr-x | tools/objc/libtool.sh | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/objc/libtool.sh b/tools/objc/libtool.sh index e1275758ea..5ad89a019d 100755 --- a/tools/objc/libtool.sh +++ b/tools/objc/libtool.sh @@ -23,15 +23,7 @@ set -eu -# A trick to allow invoking this script in multiple contexts. -if [ -z ${MY_LOCATION+x} ]; then - if [ -d "$0.runfiles/" ]; then - MY_LOCATION="$0.runfiles/bazel_tools/tools/objc" - else - MY_LOCATION="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - fi -fi - +MY_LOCATION=${MY_LOCATION:-"$0.runfiles/bazel_tools/tools/objc"} WRAPPER="${MY_LOCATION}/xcrunwrapper.sh" # Creates a symbolic link to the input argument file and returns the symlink |