diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-08-10 06:10:58 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-08-10 06:10:58 +0000 |
commit | a59114bc19068d95a8184dda9538ff5eb880e68a (patch) | |
tree | 1b32f7de9ca95dffd5bef83a9abe868c1953056f /tools/c-arcmt-test | |
parent | 1f2e1a96bec2ba6418ae7f2d2b525a3575203b6a (diff) |
c-arcmt-test, c-index-test: Appease Cygwin, to link to libclang.a, not clang.dll.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-arcmt-test')
-rw-r--r-- | tools/c-arcmt-test/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/c-arcmt-test/Makefile b/tools/c-arcmt-test/Makefile index 818f648872..b59afdac16 100644 --- a/tools/c-arcmt-test/Makefile +++ b/tools/c-arcmt-test/Makefile @@ -16,7 +16,12 @@ TOOL_NO_EXPORTS = 1 # Don't install this. It is used for tests. NO_INSTALL = 1 -LINK_COMPONENTS := support mc +# Include this here so we can get the configuration of the targets that have +# been configured for construction. We have to do this early so we can set up +# LINK_COMPONENTS before including Makefile.rules +include $(CLANG_LEVEL)/../../Makefile.config + +LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc USEDLIBS = clang.a clangARCMigrate.a clangRewrite.a \ clangFrontend.a clangDriver.a \ clangSerialization.a clangParse.a clangSema.a \ |