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 /configure.ac | |
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 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b9ac3018b23f..42d6a20b59d8 100644 --- a/configure.ac +++ b/configure.ac @@ -2760,6 +2760,7 @@ if test "$_os" = "Darwin"; then 10.7|10.8) CC="`xcrun -find clang` $bitness -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" CXX="`xcrun -find clang++` $bitness -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" + XCRUN=xcrun ;; esac AC_MSG_RESULT([$CC and $CXX]) @@ -2808,6 +2809,7 @@ AC_SUBST(MACOSX_SDK_VERSION) AC_SUBST(MACOSX_DEPLOYMENT_TARGET) AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED) AC_SUBST(MAC_OS_X_VERSION_MAX_ALLOWED) +AC_SUBST(XCRUN) dnl =================================================================== dnl Windows specific tests and stuff |