diff options
Diffstat (limited to 'tests/replace-add-needed.sh')
-rwxr-xr-x | tests/replace-add-needed.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/replace-add-needed.sh b/tests/replace-add-needed.sh index b486897..4c88fd9 100755 --- a/tests/replace-add-needed.sh +++ b/tests/replace-add-needed.sh @@ -12,7 +12,7 @@ cp libbar.so ${SCRATCH}/ cd ${SCRATCH} -libcldd=$(ldd ./simple | grep -oP "(?<=libc.so.6 => )[^ ]+") +libcldd=$(ldd ./simple | awk '/ => / { print $3 }' | grep .so | head -n 1) # We have to set the soname on these libraries ${PATCHELF} --set-soname libbar.so ./libbar.so |