summaryrefslogtreecommitdiffstats
path: root/tests/set-rpath.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-05-27 16:23:21 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-05-27 16:23:21 (GMT)
commit704c22c6a8fc49a902b3b29636f7b78af97124a6 (patch)
tree2ee68ba82b2641110fe3af5cc416d9d348f26998 /tests/set-rpath.sh
parent53f7311089de2dc767e20f1420c8118561b7a458 (diff)
downloadpatchelf-704c22c6a8fc49a902b3b29636f7b78af97124a6.zip
patchelf-704c22c6a8fc49a902b3b29636f7b78af97124a6.tar.gz
patchelf-704c22c6a8fc49a902b3b29636f7b78af97124a6.tar.bz2
* Support DT_RUNPATH (in fact, prefer DT_RUNPATH over DT_RPATH unless
--force-rpath is set).
Diffstat (limited to 'tests/set-rpath.sh')
-rwxr-xr-xtests/set-rpath.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/set-rpath.sh b/tests/set-rpath.sh
index b71e0f4..999acb4 100755
--- a/tests/set-rpath.sh
+++ b/tests/set-rpath.sh
@@ -11,7 +11,7 @@ cp libbar.so scratch/libsB/
oldRPath=$(../src/patchelf --print-rpath scratch/main)
if test -z "$oldRPath"; then oldRPath="/oops"; fi
-../src/patchelf --set-rpath $oldRPath:$(pwd)/scratch/libsA:$(pwd)/scratch/libsB scratch/main
+../src/patchelf --force-rpath --set-rpath $oldRPath:$(pwd)/scratch/libsA:$(pwd)/scratch/libsB scratch/main
#oldRPath=$(../src/patchelf --print-rpath scratch/libsA/libfoo.so)
#if test -z "$oldRPath"; then oldRPath="/oops"; fi