Try to fix shared lib buildbot failures after 36f01909a0e2 (D114846)
authorNoah Shutty <noahshutty@gmail.com>
Thu, 7 Jul 2022 18:48:45 +0000 (18:48 +0000)
committerNoah Shutty <noahshutty@gmail.com>
Thu, 7 Jul 2022 18:48:45 +0000 (18:48 +0000)
llvm/tools/llvm-debuginfod/CMakeLists.txt

index b02aec5..72f2c19 100644 (file)
@@ -1,10 +1,10 @@
 set(LLVM_LINK_COMPONENTS
-  Debuginfod
   Support
   )
 add_llvm_tool(llvm-debuginfod
   llvm-debuginfod.cpp
   )
+target_link_libraries(llvm-debuginfod PRIVATE LLVMDebuginfod)
 if(LLVM_INSTALL_BINUTILS_SYMLINKS)
   add_llvm_tool_symlink(debuginfod llvm-debuginfod)
 endif()