GNU bug report logs -
#57015
29.0.50; macOS: libgccjit was not found: Homebrew libgccjit 12.1.0
Previous Next
Reported by: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
Date: Sat, 6 Aug 2022 11:40:01 UTC
Severity: normal
Tags: patch
Merged with 57023,
57028,
57029
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Naofumi Yasufuku <naofumi <at> yasufuku.dev>
> Cc: 57015 <at> debbugs.gnu.org
> Date: Sun, 07 Aug 2022 01:36:39 +0900
>
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3843,8 +3843,15 @@ AC_DEFUN
> 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 -E 'current/libgccjit\.(so|dylib)$' | \
> + head -1))"
> + if test "x${MAC_LIBS}" = "x-L"; then
> + # Try for Homebrew libgccjit < 12.1.0.
> + MAC_LIBS="-L$(dirname $($BREW ls -v libgccjit | \
> + grep -E 'libgccjit\.(so|dylib)$' | \
> + head -1))"
> + fi
> fi
> fi
>
Is 'dirname' guaranteed to be available?
This bug report was last modified 2 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.