typo fix: use BUILD_ARCHIVE to build .a libs and not ARCHIVE_LIBRARY
authorNuno Lopes <nunoplopes@sapo.pt>
Fri, 13 Sep 2013 15:01:54 +0000 (15:01 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Fri, 13 Sep 2013 15:01:54 +0000 (15:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190696 91177308-0d34-0410-b5e6-96231b3b80d8

docs/MakefileGuide.rst

index 0bb4a3ccd1c9be95daaa8c922c973112752c2b47..e01ac9b28cff3848cd629046ea596a03f4e26078 100644 (file)
@@ -153,7 +153,7 @@ libraries are the default. For example:
 
   LIBRARYNAME = mylib
   SHARED_LIBRARY = 1
-  ARCHIVE_LIBRARY = 1
+  BUILD_ARCHIVE = 1
 
 says to build a library named ``mylib`` with both a shared library
 (``mylib.so``) and an archive library (``mylib.a``) version. The contents of all
@@ -236,7 +236,7 @@ the ``-l`` option). In this case, only the symbols that are unresolved *at
 that point* will be resolved from the library, if they exist. Other
 (unreferenced) symbols will not be included when the ``.a`` syntax is used. Note
 that in order to use the ``.a`` suffix, the library in question must have been
-built with the ``ARCHIVE_LIBRARY`` option set.
+built with the ``BUILD_ARCHIVE`` option set.
 
 JIT Tools
 ^^^^^^^^^