Document the LINK_LIBS_IN_SHARED control variable.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 3 Jun 2006 18:55:33 +0000 (18:55 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 3 Jun 2006 18:55:33 +0000 (18:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28676 91177308-0d34-0410-b5e6-96231b3b80d8

docs/MakefileGuide.html

index 2b15b3d5afb7e6f5469c8368b22f45c2b7f3bc70..cbbf3b1eb0dbb7255745e2c38be4a053af7a9967 100644 (file)
     <dt><a name="LIBRARYNAME"><tt>LIBRARYNAME</tt></a></dt>
     <dd>Specify the name of the library to be built. (Required For
     Libraries)</dd>
+    <dt><a name="LINK_LIBS_IN_SHARED"><tt>LINK_LIBS_IN_SHARED</tt></a></dt>
+    <dd>By default, shared library linking will ignore any libraries specified
+    with the <a href="LLVMLIBS">LLVMLIBS</a> or <a href="USEDLIBS">USEDLIBS</a>.
+    This prevents shared libs from including things that will be in the LLVM
+    tool the shared library will be loaded into. However, sometimes it is useful
+    to link certain libraries into your shared library and this option enables
+    that feature.</dd>
     <dt><a name="LLVMLIBS"><tt>LLVMLIBS</tt></a></dt>
     <dd>Specifies the set of libraries from the LLVM $(ObjDir) that will be
     linked into the tool or library.</dd>