aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-11-12 00:44:46 +0000
committerlloyd <[email protected]>2010-11-12 00:44:46 +0000
commitaee0e6b59338f515d2e6576bcabb0779645308f4 (patch)
treedf6e2225f81ac05363c7c1b83cfe1a00a6ea56ca /doc
parente5a7bf697b418b66a92508089d16f6fc54d7fd94 (diff)
Add a Mac OS X tip from Thomas Keller
Diffstat (limited to 'doc')
-rw-r--r--doc/building.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/building.tex b/doc/building.tex
index 36a9f1140..7164f74eb 100644
--- a/doc/building.tex
+++ b/doc/building.tex
@@ -149,6 +149,19 @@ order for new shared libraries to be picked up by the linker. An
alternative is to set your \texttt{LD\_LIBRARY\_PATH} shell variable
to include the directory that the Botan libraries were installed into.
+\subsection{Mac OS X}
+
+In general the Unix instructions above should apply, however OS X does
+not support \texttt{LD\_LIBRARY\_PATH}. Thomas Keller suggests instead
+running \verb|install_name_tool| between building and running the
+self-test program:
+
+\begin{verbatim}
+ $ VERSION=1.9.10
+ $ install_name_tool -change $(otool -X -D libbotan-$VERSION.dylib) \
+ $PWD/libbotan-$VERSION.dylib check
+\end{verbatim}
+
\subsection{MS Windows}
If you don't want to deal with building botan on Windows, check the