[PATCH] D50663: [libunwind] [cmake] Add MINGW_LIBRARIES to the linker flags
    Martin Storsjö via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Aug 13 23:14:17 PDT 2018
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rL339642: [cmake] Add MINGW_LIBRARIES to the linker flags (authored by mstorsjo, committed by ).
Herald added subscribers: llvm-commits, christof.
Changed prior to commit:
  https://reviews.llvm.org/D50663?vs=160442&id=160517#toc
Repository:
  rL LLVM
https://reviews.llvm.org/D50663
Files:
  libunwind/trunk/src/CMakeLists.txt
Index: libunwind/trunk/src/CMakeLists.txt
===================================================================
--- libunwind/trunk/src/CMakeLists.txt
+++ libunwind/trunk/src/CMakeLists.txt
@@ -62,6 +62,9 @@
 
 append_if(LIBUNWIND_LINK_FLAGS LIBUNWIND_HAS_NODEFAULTLIBS_FLAG -nodefaultlibs)
 
+# MINGW_LIBRARIES is defined in config-ix.cmake
+append_if(libraries MINGW "${MINGW_LIBRARIES}")
+
 if (LIBUNWIND_HAS_NO_EXCEPTIONS_FLAG AND LIBUNWIND_HAS_FUNWIND_TABLES)
   list(APPEND LIBUNWIND_COMPILE_FLAGS -fno-exceptions)
   list(APPEND LIBUNWIND_COMPILE_FLAGS -funwind-tables)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50663.160517.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180814/cdd8b050/attachment.bin>
    
    
More information about the cfe-commits
mailing list