diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-22 12:13:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-22 12:23:18 +0200 |
commit | f5bdeec992923a0eb3fb3357c1afe3d7fff93840 (patch) | |
tree | b0a2165acc440d9b10205999ae68ea68d1efca36 /solenv | |
parent | 642b86aa541aa977143ac5a084550f3390423926 (diff) |
Use xcrun when available to run install_name_tool
This hopefully should help in situations like Jonathan Aquilina's,
where /usr/bin/install_name_tool does not correspond to the tool-chain
used (but is from an earlier version of Xcode).
Change-Id: I5b4ca9e5e163fb4a84967577d2146cdbe8344f03
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/macosx-change-install-names.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/macosx-change-install-names.pl b/solenv/bin/macosx-change-install-names.pl index 82380e1a02d6..ed60cc2030e9 100644 --- a/solenv/bin/macosx-change-install-names.pl +++ b/solenv/bin/macosx-change-install-names.pl @@ -101,7 +101,7 @@ foreach $file (@ARGV) close(IN); if ($change ne "") { - $call = "install_name_tool$change $file"; + $call = "$ENV{'XCRUN'} install_name_tool$change $file"; system($call) == 0 or die "cannot $call"; } } |