From: Eugene Ha Date: Thu, 28 Apr 2022 21:48:38 +0000 (+0200) Subject: Find libgccjit.dylib on Homebrew Macos X-Git-Tag: emacs-28.1.91~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f7fd7bf477acfc65701065ec70c32dacb17e275a;p=emacs.git Find libgccjit.dylib on Homebrew Macos * configure.ac: Also find libggcjit on Homebrew (bug#55173). Copyright-paperwork-exempt: yes (cherry picked from commit faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439) --- diff --git a/configure.ac b/configure.ac index 741a1a31df5..03eb9783a9b 100644 --- a/configure.ac +++ b/configure.ac @@ -3844,7 +3844,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