toolchain/mac_trampolines/ar_trampoline_mac.sh
raw| 1 | #!/bin/bash |
| 2 | # Copyright 2022 Google LLC |
| 3 | # |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
| 7 | # Find this file and look for ../../external |
| 8 | BASE_DIR=$( realpath $( dirname ${BASH_SOURCE[0]})) |
| 9 | CLANG_DIR=$( dirname $( dirname $BASE_DIR))/external/*clang_mac |
| 10 | |
| 11 | $CLANG_DIR/bin/llvm-ar $@ |