this depends on the bitcode reader, since it is using it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172905 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt
index 69480db..dd4eccf 100644
--- a/tools/libclang/CMakeLists.txt
+++ b/tools/libclang/CMakeLists.txt
@@ -2,6 +2,7 @@
${LLVM_TARGETS_TO_BUILD}
asmparser
support
+ bitreader
mc
)
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index 23ab188..53aec69 100644
--- a/tools/libclang/Makefile
+++ b/tools/libclang/Makefile
@@ -16,7 +16,7 @@
SHARED_LIBRARY = 1
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc
USEDLIBS = clangFrontend.a clangDriver.a \
clangTooling.a \
clangSerialization.a \