chore(patch): minor simplification to libgccjit patches

By matching more targeted sets of strings, it should hopefully make
these patches more future-proof.
This commit is contained in:
2022-08-10 16:28:29 +01:00
parent e0fd2b16eb
commit aeb3a75e5c

View File

@@ -675,8 +675,8 @@ class Build
p << {
replace: [
'configure.ac',
'grep libgccjit.so\$))"',
'grep -E \'libgccjit\.(so|dylib)$\'))"'
'grep libgccjit.so\$',
'grep -E \'libgccjit\.(so|dylib)$\''
],
allow_failure: true
}
@@ -686,8 +686,8 @@ class Build
p << {
replace: [
'configure.ac',
'grep -E \'libgccjit\.(so|dylib)$\'))"',
'grep -E \'libgccjit\.(so|dylib)$\' | tail -1))"'
'grep -E \'libgccjit\.(so|dylib)$\'',
'grep -E \'libgccjit\.(so|dylib)$\' | tail -1'
],
allow_failure: true
}