summaryrefslogtreecommitdiff
path: root/doc/relocatable-maint.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-02-24 01:49:15 +0100
committerBruno Haible <bruno@clisp.org>2019-02-24 01:49:15 +0100
commit95318be14e61c57ae5ec3751280ba702f65cd68d (patch)
tree0a4fb9de34b8ffde281439cfd761e9ff40f73b9d /doc/relocatable-maint.texi
parent7039b893705ec50cb6ebb57aef1f63e104a8e5dc (diff)
downloadgnulib-95318be14e61c57ae5ec3751280ba702f65cd68d.tar.gz
relocatable-prog: Update documentation.
* doc/relocatable-maint.texi (Supporting Relocation): Update to match the recent changes.
Diffstat (limited to 'doc/relocatable-maint.texi')
-rw-r--r--doc/relocatable-maint.texi15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi
index b95caaf7c3..9f1b89319d 100644
--- a/doc/relocatable-maint.texi
+++ b/doc/relocatable-maint.texi
@@ -35,14 +35,21 @@ here in a platform-specific way:
@itemize
@item
-On GNU/Linux, it adds a linker option (@option{-rpath}) that causes
-the dynamic linker to search for libraries in a directory relative to
-the location of the invoked executable.
+On most operating systems, it adds a linker option (@option{-rpath}) that
+causes the dynamic linker to search for libraries in a directory relative
+to the location of the invoked executable. This works on GNU/Linux and
+modern versions of FreeBSD, NetBSD, OpenBSD, Solaris, Haiku.
@item
-On other Unix systems, it installs a wrapper executable. The wrapper
+On macOS, it modifies the installed executables after installation in a way
+that causes the dynamic linker to search for libraries in a directory relative
+to the location of the invoked executable.
+
+@item
+On other Unix systems, it installs a trampoline executable. The trampoline
sets the environment variable that controls shared library searching
(usually @env{LD_LIBRARY_PATH}) and then invokes the real executable.
+This applies to operating systems such as AIX, HP-UX, or Minix.
@item
On Windows, the executable's own directory is searched for libraries,