summaryrefslogtreecommitdiff
path: root/tools/llvm-ar
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-14 22:19:21 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-14 22:19:21 +0000
commitc7ebfdd2cc97d665dea104cd9cef3027e09a1423 (patch)
tree1566d3ac238636c2af4fbfc91feeb0335869b1a7 /tools/llvm-ar
parent6903c8634819ab7a929bb68dd9fd59ecdc7153d7 (diff)
downloadllvm-c7ebfdd2cc97d665dea104cd9cef3027e09a1423.tar.gz
llvm-c7ebfdd2cc97d665dea104cd9cef3027e09a1423.tar.bz2
llvm-c7ebfdd2cc97d665dea104cd9cef3027e09a1423.tar.xz
This tool needs the libLLVMArchive library now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar')
-rw-r--r--tools/llvm-ar/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/llvm-ar/Makefile b/tools/llvm-ar/Makefile
index 938f73ef11..36968b3cc2 100644
--- a/tools/llvm-ar/Makefile
+++ b/tools/llvm-ar/Makefile
@@ -9,6 +9,11 @@
LEVEL = ../..
TOOLNAME = llvm-ar
-USEDLIBS = LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.a
+USEDLIBS = LLVMArchive.a LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common
+
+check-local::
+ $(ToolDir)/llvm-ar zRrS nada.a .
+ $(ToolDir)/llvm-ar tv nada.a | grep Debug/llvm-ar.d >/dev/null 2>&1
+ $(RM) -f nada.a