From f7fd7bf477acfc65701065ec70c32dacb17e275a Mon Sep 17 00:00:00 2001 From: Eugene Ha Date: Thu, 28 Apr 2022 23:48:38 +0200 Subject: [PATCH] Find libgccjit.dylib on Homebrew Macos * configure.ac: Also find libggcjit on Homebrew (bug#55173). Copyright-paperwork-exempt: yes (cherry picked from commit faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2