Document the LINK_LIBS_IN_SHARED control variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28676 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/MakefileGuide.html b/docs/MakefileGuide.html
index 2b15b3d..cbbf3b1 100644
--- a/docs/MakefileGuide.html
+++ b/docs/MakefileGuide.html
@@ -662,6 +662,13 @@
<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>