aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.17
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index a52975d..a12596e 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -709,7 +709,12 @@ option is also used when locating shared objects which are needed by
shared objects explicitly included in the link; see the description of
the
.B \-rpath\-link
-option.
+option. If
+.B \-rpath
+is not used when linking an ELF executable, the contents of the
+environment variable
+.B LD_RUN_PATH
+will be used if it is defined.
The
.B \-rpath