LEVEL := ../..
TOOLNAME := llvm-ar
-LINK_COMPONENTS := archive
-REQUIRES_EH := 1
+TOOLALIAS = llvm-ranlib
+LINK_COMPONENTS := all-targets bitreader libdriver support object
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS := 1
include $(LEVEL)/Makefile.common
+
+all-local::
+ $(Verb) $(AliasTool) $(notdir $(ToolBuildPath)) $(ToolDir)/llvm-lib$(EXEEXT)