]> 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)
committerEli Zaretskii <eliz@gnu.org>
Sun, 24 Jul 2022 12:48:18 +0000 (15:48 +0300)
* configure.ac: Also find libggcjit on Homebrew (bug#55173).

Copyright-paperwork-exempt: yes
(cherry picked from commit faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439)

configure.ac

index 741a1a31df598954b9a1ca8b75aee4d26dcadbd8..03eb9783a9b979e01ea668247e7eabd4397cf566 100644 (file)
@@ -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