aboutsummaryrefslogtreecommitdiff
path: root/docs/Projects.html
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-10-17 21:50:38 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-10-17 21:50:38 +0000
commit37c154a1b2638ae10dc8ad4776b828d1383f1db1 (patch)
treeb307b8e706195d189b6c679a33b27c5233cce739 /docs/Projects.html
parente5f6859911108f1fa445acb2ac29902d56fcfa58 (diff)
Added additional information about linking dynamic libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Projects.html')
-rw-r--r--docs/Projects.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/Projects.html b/docs/Projects.html
index f8aaad812e..8652f374e7 100644
--- a/docs/Projects.html
+++ b/docs/Projects.html
@@ -275,6 +275,21 @@
For example, to link libsample.a, you would set USEDLIBS to
<tt>sample</tt>.
<p>
+ Note that this works only for statically linked libraries.
+ <p>
+
+ <dt>LIBS
+ <dd>
+ To link dynamic libraries, add <tt>-l&lt;library base name&gt;</tt> to
+ the LIBS variable. The LLVM build system will look in the same places
+ for dynamic libraries as it does for static libraries.
+ <p>
+ For example, to link <tt>libsample.so</tt>, you would have the
+ following line in your <tt>Makefile</tt>:
+ <p>
+ <tt>
+ LIBS+=-lsample
+ </tt>
</dl>
<h3> Miscellaneous Variables</h3>