emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 16dfe04be2: Find libgccjit on macOS with Homebrew differently


From: Gerd Moellmann
Subject: emacs-28 16dfe04be2: Find libgccjit on macOS with Homebrew differently
Date: Fri, 19 Aug 2022 05:03:05 -0400 (EDT)

branch: emacs-28
commit 16dfe04be2c57fc82ccdd56cad97b39d559a5afe
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    Find libgccjit on macOS with Homebrew differently
    
    * configure.ac (MAC_LIBS): Find libgccjit's directory slightly
    differently for brew installations.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 57b86e8542..bc7485b81c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3843,8 +3843,8 @@ if test "${with_native_compilation}" != "no"; then
         if test -n "`$BREW --prefix --installed libgccjit 2>/dev/null`"; then
           MAC_CFLAGS="-I$(dirname $($BREW ls -v libgccjit | \
                                                 grep libgccjit.h))"
-          MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit| \
-                                            grep -E 'libgccjit\.(so|dylib)$'))"
+          MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit \
+                                  | grep -m1 -E 'libgccjit\.(so|dylib)$'))"
         fi
       fi
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]