Add CIndex dependencies: libLLVMC and libclangSema (for IdentifierResolver).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80385 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/CIndex/Makefile b/tools/CIndex/Makefile
index 8f511b7..a9ff394 100644
--- a/tools/CIndex/Makefile
+++ b/tools/CIndex/Makefile
@@ -21,8 +21,8 @@
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
-LINK_COMPONENTS := support
-USEDLIBS = clangFrontend.a clangIndex.a clangAST.a clangLex.a clangBasic.a
+LINK_COMPONENTS := MC support
+USEDLIBS = clangFrontend.a clangIndex.a clangSema.a clangAST.a clangLex.a clangBasic.a
include $(LEVEL)/Makefile.common