mirror of
https://github.com/NixOS/patchelf.git
synced 2025-10-18 00:12:18 +08:00
Merge pull request #407 from robert-scheck/glibc-hwcaps
Handle glibc-hwcaps on ppc64le on CentOS/RHEL/Rocky 8 for tests/replace-add-needed.sh (fixes #406)
This commit is contained in:
@@ -11,7 +11,7 @@ cp libbar.so ${SCRATCH}/
|
||||
|
||||
cd ${SCRATCH}
|
||||
|
||||
libcldd=$(ldd ./simple | awk '/ => / { print $3 }' | grep -E "(libc.so|ld-musl)")
|
||||
libcldd=$(ldd ./simple | awk '/ => / { print $3 }' | grep -E "(libc(-[0-9.]*)*.so|ld-musl)")
|
||||
|
||||
# We have to set the soname on these libraries
|
||||
${PATCHELF} --set-soname libbar.so ./libbar.so
|
||||
|
Reference in New Issue
Block a user