Skip to content

Commit 11e804f

Browse files
committed
[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
1 parent 7fb2590 commit 11e804f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang-tools-extra/clang-doc/tool/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ clang_target_link_libraries(clang-doc
99
clangAST
1010
clangASTMatchers
1111
clangBasic
12+
clangDocSupport
1213
clangFrontend
1314
clangTooling
1415
clangToolingCore

0 commit comments

Comments
 (0)