From faa29fa2c9e9d5a5d7544a1a39b2a89cf57a8439 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7c8638a4715..53e5779e2f7 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.39.5