Page MenuHomePhabricator

D67885.diff
No OneTemporary

File Metadata

Created
Tue, Nov 19, 3:51 PM

D67885.diff

Index: lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
+++ lldb/trunk/source/Plugins/ObjectFile/PECOFF/CMakeLists.txt
@@ -1,3 +1,10 @@
+# Dbghelp is used on windows for writing minidump files.
+if(WIN32)
+ set(DBGHELP_LINK_FILES dbghelp)
+else()
+ set(DBGHELP_LINK_FILES "")
+endif()
+
add_lldb_library(lldbPluginObjectFilePECOFF PLUGIN
ObjectFilePECOFF.cpp
WindowsMiniDump.cpp
@@ -7,6 +14,7 @@
lldbHost
lldbSymbol
lldbTarget
+ ${DBGHELP_LINK_FILES}
LINK_COMPONENTS
BinaryFormat
Support

Event Timeline