summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-08-11 03:34:24 +0200
committerGuillem Jover <guillem@debian.org>2018-08-30 03:14:08 +0200
commitf277fc2e8e0fd80017e0fd4088789a09737c5c3a (patch)
tree49c046a82a99a6a5190b467f62e8fa0898b53471 /man
parentf4bae73fa1158846648d566cb28cdcb7e9aaa90f (diff)
downloaddpkg-f277fc2e8e0fd80017e0fd4088789a09737c5c3a.tar.gz
dpkg-gensymbols: Add new -l option
This option will make it possible to stop using LD_LIBRARY_PATH when calling this script.
Diffstat (limited to 'man')
-rw-r--r--man/dpkg-gensymbols.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/dpkg-gensymbols.man b/man/dpkg-gensymbols.man
index a708b5e96..36aaf9a3a 100644
--- a/man/dpkg-gensymbols.man
+++ b/man/dpkg-gensymbols.man
@@ -436,6 +436,17 @@ the \fBFile::Glob\fP(3perl) manual page for details) in \fIlibrary-file\fR
to match multiple libraries with a single argument (otherwise you need
multiple \fB\-e\fR).
.TP
+.BI \-l directory
+Prepend
+.I directory
+to the list of directories to search for private shared libraries
+(since dpkg 1.19.1). This option can be used multiple times.
+
+Note: Use this option instead of setting \fBLD_LIBRARY_PATH\fP,
+as that environment variable is used to control the run-time linker
+and abusing it to set the shared library paths at build-time can be
+problematic when cross-compiling for example.
+.TP
.BI \-I filename
Use \fIfilename\fR as reference file to generate the symbols file
that is integrated in the package itself.