]> granicus.if.org Git - clang/commitdiff
[libclang] Add dependency on clangSerialization to unbreak -DBUILD_SHARED_LIBS=1...
authorFangrui Song <maskray@google.com>
Sat, 15 Dec 2018 08:54:06 +0000 (08:54 +0000)
committerFangrui Song <maskray@google.com>
Sat, 15 Dec 2018 08:54:06 +0000 (08:54 +0000)
Frontend headers have undefined reference on the symbol `clang::PCHContainerOperations::PCHContainerOperations()` through some shared_ptr usage. Any dependents will get the undefined reference which can only be resolved by explicit dependency on clangSerialization (due to -z defs).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349259 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CMakeLists.txt

index 729d5560b658292e1b8652c8e1e36712c53dce6a..32333b011ad1315e199f3dc315a635f5702e4338 100644 (file)
@@ -40,6 +40,7 @@ set(LIBS
   clangIndex
   clangLex
   clangSema
+  clangSerialization
   clangTooling
 )