From 54bcfe6904eb3d632bfb71b1076980dac16c235d Mon Sep 17 00:00:00 2001 From: exquo <62397152+exquo@users.noreply.github.com> Date: Wed, 21 Aug 2024 12:04:49 +0000 Subject: [PATCH] Use readelf for max glibc version --- .github/workflows/libclient-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/libclient-build.yaml b/.github/workflows/libclient-build.yaml index 7b28204..678b563 100644 --- a/.github/workflows/libclient-build.yaml +++ b/.github/workflows/libclient-build.yaml @@ -204,7 +204,7 @@ jobs: readelf --arch-specific $FILENAME || : ldd -v $FILENAME || ldd $FILENAME || : objdump -T $FILENAME | grep LIBC || : - objdump -T $FILENAME | grep LIBC | cut -d'_' -f2 | sort -V | tail -n1 | cut -d ' ' -f1 || : + readelf -V libsignal_jni.so | grep -o ' GLIBC_[^ ]*' | sort -V | tail -n 1 || : openssl sha256 $FILENAME - name: Create archive