typo fix: use BUILD_ARCHIVE to build .a libs and not ARCHIVE_LIBRARY
llvm-svn: 190696
This commit is contained in:
		
							parent
							
								
									a837c8224d
								
							
						
					
					
						commit
						c38b2dabb0
					
				| 
						 | 
					@ -153,7 +153,7 @@ libraries are the default. For example:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  LIBRARYNAME = mylib
 | 
					  LIBRARYNAME = mylib
 | 
				
			||||||
  SHARED_LIBRARY = 1
 | 
					  SHARED_LIBRARY = 1
 | 
				
			||||||
  ARCHIVE_LIBRARY = 1
 | 
					  BUILD_ARCHIVE = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
says to build a library named ``mylib`` with both a shared library
 | 
					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
 | 
					(``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
 | 
					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
 | 
					(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
 | 
					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
 | 
					JIT Tools
 | 
				
			||||||
^^^^^^^^^
 | 
					^^^^^^^^^
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue