Use LINK_COMPONENTS to specify *components* to link against instead of
[oota-llvm.git] / tools / llvm-ar / Makefile
index 18da61768206cb0489285f0b1c8bc19e47d8c54e..bf1516732a61281cbe769a7846f57e66ca107499 100644 (file)
@@ -9,8 +9,7 @@
 LEVEL = ../..
 
 TOOLNAME = llvm-ar
-USEDLIBS = LLVMArchive.a LLVMBCReader.a \
-          LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
+LINK_COMPONENTS = archive bcreader
 REQUIRES_EH := 1
 
 include $(LEVEL)/Makefile.common