diff options
-rwxr-xr-x | tests/set-rpath-library.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/set-rpath-library.sh b/tests/set-rpath-library.sh index 9800d0e..3bdfc12 100755 --- a/tests/set-rpath-library.sh +++ b/tests/set-rpath-library.sh @@ -11,11 +11,7 @@ cp libbar-scoped.so scratch/libsB/ oldRPath=$(../src/patchelf --print-rpath scratch/main-scoped) if test -z "$oldRPath"; then oldRPath="/oops"; fi -../src/patchelf --force-rpath --set-rpath $oldRPath:$(pwd)/scratch/libsA:$(pwd)/scratch/libsB scratch/main-scoped - -#oldRPath=$(../src/patchelf --print-rpath scratch/libsB/libbar.so) -#if test -z "$oldRPath"; then oldRPath="/oops"; fi -#../src/patchelf --set-rpath $oldRPath:$(pwd)/scratch/libsC scratch/libsB/libbar.so +../src/patchelf --set-rpath $oldRPath:$(pwd)/scratch/libsA:$(pwd)/scratch/libsB scratch/main-scoped # "main" contains libbar in its RUNPATH, but that's ignored when # resolving libfoo. So libfoo won't find libbar and this will fail. |