[OCaml] PR22014: OCaml bindings didn't link to libLLVM-*.so with -Wl,--as-needed
[oota-llvm.git] / tools / llvm-ar / Makefile
1 ##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL := ../..
11 TOOLNAME := llvm-ar
12 TOOLALIAS = llvm-ranlib
13 LINK_COMPONENTS := all-targets bitreader support object
14
15 # This tool has no plugins, optimize startup time.
16 TOOL_NO_EXPORTS := 1
17
18 include $(LEVEL)/Makefile.common