summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-02-13 06:54:18 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-02-13 06:54:18 +0000
commitcd1920beb16a036ba4fc689b7aa8d6b516d3aa00 (patch)
tree6b023b4f93dff867c48c44d7bb87ca741eb7fb6f /doc
parent5dc292d0875f93586922ca5a526a47c22748d37e (diff)
Document extended behaviour of LIBS and LIBDIRS.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4460 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc')
-rw-r--r--doc/UsersGuide/RunningCactus.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/UsersGuide/RunningCactus.tex b/doc/UsersGuide/RunningCactus.tex
index 8a063075..a62b44bf 100644
--- a/doc/UsersGuide/RunningCactus.tex
+++ b/doc/UsersGuide/RunningCactus.tex
@@ -593,12 +593,19 @@ Used to specify auxiliary libraries and directories to find them in.
\begin{Lentry}
\item [\texttt{LIBS}]
-Additional libraries. \emph{Warning:} This variable is ignored while
+Additional libraries.
+This variable can also contain linker options, e.g.\ to switch between
+static and dynamic linking. (Cactus adds an \verb+-l+ prefix to
+library names, but does not modify linker options.)
+\emph{Warning:} This variable is ignored while
the compilers and linkers are autodetected. This can lead to strange
errors while configuring. You can pass the additional libraries in
the variable \texttt{LD} instead.
\item [\texttt{LIBDIRS}] Any other library directories.
+This variable can also contain linker options. (Cactus adds an
+\verb+-L+ prefix to library directories, but does not modify linker
+options.)
\end{Lentry}
\item {Extra include directories}