From: Fangrui Song Date: Sat, 15 Dec 2018 08:54:06 +0000 (+0000) Subject: [libclang] Add dependency on clangSerialization to unbreak -DBUILD_SHARED_LIBS=1... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a674a04e68bcf09f9a0423f3f589589596bc01a6;p=clang [libclang] Add dependency on clangSerialization to unbreak -DBUILD_SHARED_LIBS=1 build after rC349237 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 --- diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt index 729d5560b6..32333b011a 100644 --- a/tools/libclang/CMakeLists.txt +++ b/tools/libclang/CMakeLists.txt @@ -40,6 +40,7 @@ set(LIBS clangIndex clangLex clangSema + clangSerialization clangTooling )