]> git.eshelyaron.com Git - emacs.git/commitdiff
Find libgccjit.dylib on Homebrew Macos
authorEugene Ha <eha@posteo.de>
Thu, 28 Apr 2022 21:48:38 +0000 (23:48 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Apr 2022 21:48:38 +0000 (23:48 +0200)
* configure.ac: Also find libggcjit on Homebrew (bug#55173).

Copyright-paperwork-exempt: yes

configure.ac

index 7c8638a4715d7fccf43d0c1f790fee3fb509aea8..53e5779e2f7cb008ac2120940a3f70e59d5cc299 100644 (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