summaryrefslogtreecommitdiffstats
path: root/patchelf.1
diff options
context:
space:
mode:
Diffstat (limited to 'patchelf.1')
-rw-r--r--patchelf.16
1 files changed, 6 insertions, 0 deletions
diff --git a/patchelf.1 b/patchelf.1
index 8067dff..ecf4217 100644
--- a/patchelf.1
+++ b/patchelf.1
@@ -53,6 +53,12 @@ For instance, if an executable references one library libfoo.so, has
an RPATH "/lib:/usr/lib:/foo/lib", and libfoo.so can only be found
in /foo/lib, then the new RPATH will be "/foo/lib".
+.IP "--allowed-rpath-prefixes PREFIXES"
+Combined with the "--shrink-rpath" option, this can be used for
+further rpath tuning. For instance, if an executable has an RPATH
+"/tmp/build-foo/.libs:/foo/lib", it is probably desirable to keep
+the "/foo/lib" reference instead of the "/tmp" entry.
+
.IP --print-rpath
Prints the RPATH for an executable or library.