summaryrefslogtreecommitdiffstats
path: root/tools/c-index-test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/c-index-test/Makefile')
-rw-r--r--tools/c-index-test/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/c-index-test/Makefile b/tools/c-index-test/Makefile
index b81678b..7723115 100644
--- a/tools/c-index-test/Makefile
+++ b/tools/c-index-test/Makefile
@@ -22,8 +22,13 @@ TOOL_NO_EXPORTS = 1
# 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 \
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc
+
+# Note that 'USEDLIBS' must include all of the core clang libraries
+# when -static is given to linker on cygming.
+USEDLIBS = clang.a \
+ clangFormat.a clangRewriteCore.a \
+ clangFrontend.a clangDriver.a \
clangTooling.a \
clangSerialization.a clangParse.a clangSema.a \
clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
OpenPOWER on IntegriCloud