From: John Criswell Date: Fri, 17 Oct 2003 21:50:38 +0000 (+0000) Subject: Added additional information about linking dynamic libraries. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91dbd8fd828baa47ab58435408a036eaa15b8240;p=platform%2Fupstream%2Fllvm.git Added additional information about linking dynamic libraries. llvm-svn: 9211 --- diff --git a/llvm/docs/Projects.html b/llvm/docs/Projects.html index f8aaad8..8652f37 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 sample.

+ Note that this works only for statically linked libraries. +

+ +

LIBS +
+ To link dynamic libraries, add -l<library base name> to + the LIBS variable. The LLVM build system will look in the same places + for dynamic libraries as it does for static libraries. +

+ For example, to link libsample.so, you would have the + following line in your Makefile: +

+ + LIBS+=-lsample +

Miscellaneous Variables