diff options
author | John Criswell <criswell@uiuc.edu> | 2003-10-17 21:50:38 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-10-17 21:50:38 +0000 |
commit | 91dbd8fd828baa47ab58435408a036eaa15b8240 (patch) | |
tree | c8bb326384670d9af1137cbbd9b8a04599da28a9 /llvm/docs/Projects.html | |
parent | c42d7951f22029856a8585b3e3b3be473e6dd1f7 (diff) | |
download | bcm5719-llvm-91dbd8fd828baa47ab58435408a036eaa15b8240.tar.gz bcm5719-llvm-91dbd8fd828baa47ab58435408a036eaa15b8240.zip |
Added additional information about linking dynamic libraries.
llvm-svn: 9211
Diffstat (limited to 'llvm/docs/Projects.html')
-rw-r--r-- | llvm/docs/Projects.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/docs/Projects.html b/llvm/docs/Projects.html index f8aaad812e8..8652f374e7a 100644 --- a/llvm/docs/Projects.html +++ b/llvm/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<library base name></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> |