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 Feb 23, 2022
1 parent b228497 commit 3a867bd
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 3a867bd

Please sign in to comment.