[all-commits] [llvm/llvm-project] 11e804: [clang-doc] Fix build break with BUILD_SHARED_LIBS=ON

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed May 28 06:14:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11e804fcabce11a9fdfb4033263ef1e502cc8a72
      https://github.com/llvm/llvm-project/commit/11e804fcabce11a9fdfb4033263ef1e502cc8a72
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/tool/CMakeLists.txt

  Log Message:
  -----------
  [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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list