summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README9
1 files changed, 6 insertions, 3 deletions
diff --git a/README b/README
index c9db8d1..39e38b4 100644
--- a/README
+++ b/README
@@ -27,13 +27,16 @@ libraries. In particular, it can do the following:
This option can be given multiple times.
* Add a declared dependency on a dynamic library (DT_NEEDED):
+
$ patchelf --add-needed libfoo.so.1 my-program
-
+
This option can be give multiple times.
-* Replace a declared dependency on a dynamic library with another one (DT_NEEDED):
+* Replace a declared dependency on a dynamic library with another one
+ (DT_NEEDED):
+
$ patchelf --replace-needed liboriginal.so.1 libreplacement.so.1 my-program
-
+
This option can be give multiple times.