Skip to content

Commit

Permalink
c-arcmt-test, c-index-test: Appease Cygwin, to link to libclang.a, no…
Browse files Browse the repository at this point in the history
…t clang.dll.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161655 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chapuni committed Aug 10, 2012
1 parent 1f2e1a9 commit a59114b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tools/c-arcmt-test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
7 changes: 6 additions & 1 deletion tools/c-index-test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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 clangFrontend.a clangDriver.a \
clangTooling.a \
clangSerialization.a clangParse.a clangSema.a \
Expand Down

0 comments on commit a59114b

Please sign in to comment.