set(LLVM_LINK_COMPONENTS
  DebugInfoCodeView
  DebugInfoDWARF
  Object
  BinaryFormat
  Support
  DebugInfoCodeView
  DebugInfoMSF
  DebugInfoPDB
  )

add_llvm_tool(llvm-readobj
  ARMWinEHPrinter.cpp
  COFFDumper.cpp
  COFFImportDumper.cpp
  ELFDumper.cpp
  Error.cpp
  llvm-readobj.cpp
  MachODumper.cpp
  ObjDumper.cpp
  WasmDumper.cpp
  Win64EHDumper.cpp
  WindowsResourceDumper.cpp
  )

add_llvm_tool_symlink(llvm-readelf llvm-readobj)

if(LLVM_INSTALL_BINUTILS_SYMLINKS)
  add_llvm_tool_symlink(readelf llvm-readobj)
endif()

set(LLVM_LINK_COMPONENTS
  DebugInfoCodeView
  DebugInfoDWARF
  Demangle
  Object
  BinaryFormat
  Support
  DebugInfoCodeView
  DebugInfoMSF
  DebugInfoPDB
  )

add_llvm_tool(llvm-readobj
  ARMWinEHPrinter.cpp
  COFFDumper.cpp
  COFFImportDumper.cpp
  ELFDumper.cpp
  Error.cpp
  llvm-readobj.cpp
  MachODumper.cpp
  ObjDumper.cpp
  WasmDumper.cpp
  Win64EHDumper.cpp
  WindowsResourceDumper.cpp
  )

add_llvm_tool_symlink(llvm-readelf llvm-readobj)

if(LLVM_INSTALL_BINUTILS_SYMLINKS)
  add_llvm_tool_symlink(readelf llvm-readobj)
endif()

Add a missing dependency to fix build.
Add a missing dependency to fix build.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@351458 91177308-0d34-0410-b5e6-96231b3b80d8
