1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Find libgccjit on macOS with Homebrew differently

* configure.ac (MAC_LIBS): Find libgccjit's directory slightly
differently for brew installations.
This commit is contained in:
Gerd Möllmann 2022-08-19 10:52:52 +02:00
parent e64d811b51
commit 16dfe04be2

View File

@ -3843,8 +3843,8 @@ if test "${with_native_compilation}" != "no"; then
if test -n "`$BREW --prefix --installed libgccjit 2>/dev/null`"; then
MAC_CFLAGS="-I$(dirname $($BREW ls -v libgccjit | \
grep libgccjit.h))"
MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit| \
grep -E 'libgccjit\.(so|dylib)$'))"
MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit \
| grep -m1 -E 'libgccjit\.(so|dylib)$'))"
fi
fi