From 2af09896f5edad04e3009802138ca7aba8dc864f Mon Sep 17 00:00:00 2001 From: Thi Doan Date: Tue, 11 May 2021 09:36:20 +0900 Subject: [PATCH] Use `xcrun` to invoke `install_name_tool` `/usr/bin/install_name_tool` is a shim; it invokes `install_name_tool` in the current active Xcode. This allows using this template file to configure toolchain on non-macOS. This doesn't change the behavior as both will end up invoking the same tool. --- tools/cpp/osx_cc_wrapper.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cpp/osx_cc_wrapper.sh.tpl b/tools/cpp/osx_cc_wrapper.sh.tpl index 28bd47ba1a4a97..2ecc81c3d0c88b 100644 --- a/tools/cpp/osx_cc_wrapper.sh.tpl +++ b/tools/cpp/osx_cc_wrapper.sh.tpl @@ -27,7 +27,7 @@ # set -eu -INSTALL_NAME_TOOL="/usr/bin/install_name_tool" +INSTALL_NAME_TOOL="/usr/bin/xcrun install_name_tool" LIBS= LIB_DIRS=