Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1391,6 +1391,13 @@ if test "$Py_LTO" = 'true' ; then
LLVM_AR='/usr/bin/xcrun llvm-ar'
LLVM_AR_FOUND=found
AC_MSG_NOTICE([llvm-ar found via xcrun: ${LLVM_AR}])
elif test -x /usr/bin/ar
then
# /usr/bin/ar on macOS works fine in place of llvm-ar
# https://github.com/Homebrew/homebrew-core/pull/70177
LLVM_AR='/usr/bin/ar'
LLVM_AR_FOUND=found
AC_MSG_NOTICE(["using /usr/bin/ar for llvm-ar"])
fi
fi
if test $LLVM_AR_FOUND = not-found
Expand Down