commit: 3ccc775d6f98c1917408bc3a370cfd6d3d789d50
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 03:14:58 2023 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 15:47:36 2023 +0000
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=3ccc775d
configure: update libc grep expression
On Alpine, libc's SONAME is 'libc.musl-x86_64.so.1'.
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index a2a0355..5746702 100644
--- a/configure.ac
+++ b/configure.ac
@@ -378,7 +378,7 @@ echo "int main(void) { return 0; }" > libctest.c
$CC $CFLAGS $CPPFLAGS $LDFLAGS -o libctest libctest.c
LIBC_VERSION=$(
$READELF -d libctest | \
- $EGREP 'NEEDED.* \@<:@libc\.so' | \
+ $EGREP 'NEEDED.* \@<:@libc\..*so' | \
$AWK '{print $NF}' | [sed -e 's:\[::' -e 's:\]::']
)
rm -f libctest*