Skip to content

Commit 02d85f8

Browse files
authored
Merge pull request jimeh#75 from jimeh/fix-libgccjit12-compatibility
fix(native-comp): compatibility with libgccjit 12 homebrew formula
2 parents d24ac08 + aeb3a75 commit 02d85f8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

build-emacs-for-macos

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,19 @@ class Build
675675
p << {
676676
replace: [
677677
'configure.ac',
678-
'grep libgccjit.so\$))"',
679-
'grep -E \'libgccjit\.(so|dylib)$\'))"'
678+
'grep libgccjit.so\$',
679+
'grep -E \'libgccjit\.(so|dylib)$\''
680+
],
681+
allow_failure: true
682+
}
683+
end
684+
685+
if %w[emacs-28 emacs-29].include?(effective_version)
686+
p << {
687+
replace: [
688+
'configure.ac',
689+
'grep -E \'libgccjit\.(so|dylib)$\'',
690+
'grep -E \'libgccjit\.(so|dylib)$\' | tail -1'
680691
],
681692
allow_failure: true
682693
}

0 commit comments

Comments
 (0)