Skip to content

Commit

Permalink
Use xcrun to invoke install_name_tool
Browse files Browse the repository at this point in the history
`/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.
  • Loading branch information
thii committed May 11, 2021
1 parent 339700e commit 2af0989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cpp/osx_cc_wrapper.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 2af0989

Please sign in to comment.