Find libgccjit.dylib on Homebrew Macos

* configure.ac: Also find libggcjit on Homebrew (bug#55173).

Copyright-paperwork-exempt: yes
This commit is contained in:
Eugene Ha 2022-04-28 23:48:38 +02:00 committed by Lars Ingebrigtsen
parent fa1a7ac617
commit faa29fa2c9

View file

@ -4126,7 +4126,7 @@ if test "${with_native_compilation}" != "no"; then
MAC_CFLAGS="-I$(dirname $($BREW ls -v libgccjit | \
grep libgccjit.h))"
MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit| \
grep libgccjit.so\$))"
grep -E 'libgccjit\.(so|dylib)$'))"
fi
fi