[clang-tools-extra] 11e804f - [clang-doc] Fix build break with BUILD_SHARED_LIBS=ON
Krzysztof Parzyszek via cfe-commits
cfe-commits at lists.llvm.org
Wed May 28 06:13:55 PDT 2025
Author: Krzysztof Parzyszek
Date: 2025-05-28T08:13:31-05:00
New Revision: 11e804fcabce11a9fdfb4033263ef1e502cc8a72
URL: https://github.com/llvm/llvm-project/commit/11e804fcabce11a9fdfb4033263ef1e502cc8a72
DIFF: https://github.com/llvm/llvm-project/commit/11e804fcabce11a9fdfb4033263ef1e502cc8a72.diff
LOG: [clang-doc] Fix build break with BUILD_SHARED_LIBS=ON
The error message:
/usr/bin/ld: CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o: undefined refe
rence to symbol '_Z20getMustacheHtmlFilesN4llvm9StringRefERN5clang3doc15
ClangDocContextE' /usr/bin/ld: /work/kparzysz/git/llvm.org/b/x86/./lib/l
ibclangDocSupport.so.21.0git: error adding symbols: DSO missing from com
mand line
collect2: error: ld returned 1 exit status
make[2]: *** [tools/clang/tools/extra/clang-doc/tool/CMakeFiles/clang-do
c.dir/build.make:107: bin/clang-doc] Error 1
Added:
Modified:
clang-tools-extra/clang-doc/tool/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-doc/tool/CMakeLists.txt b/clang-tools-extra/clang-doc/tool/CMakeLists.txt
index f380c621890fb..7c9a94adec8a4 100644
--- a/clang-tools-extra/clang-doc/tool/CMakeLists.txt
+++ b/clang-tools-extra/clang-doc/tool/CMakeLists.txt
@@ -9,6 +9,7 @@ clang_target_link_libraries(clang-doc
clangAST
clangASTMatchers
clangBasic
+ clangDocSupport
clangFrontend
clangTooling
clangToolingCore
More information about the cfe-commits
mailing list