[PATCH] D37207: [libc++] Add MINGW_LIBRARIES to the linker flags

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 4 12:48:20 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL312498: Add MINGW_LIBRARIES to the linker flags (authored by mstorsjo).

Changed prior to commit:
  https://reviews.llvm.org/D37207?vs=112873&id=113787#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37207

Files:
  libcxx/trunk/lib/CMakeLists.txt


Index: libcxx/trunk/lib/CMakeLists.txt
===================================================================
--- libcxx/trunk/lib/CMakeLists.txt
+++ libcxx/trunk/lib/CMakeLists.txt
@@ -91,6 +91,7 @@
   add_library_flags_if(LIBCXX_HAS_GCC_S_LIB gcc_s)
 endif()
 add_library_flags_if(LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB atomic)
+add_library_flags_if(MINGW "${MINGW_LIBRARIES}")
 
 # Add the unwinder library.
 if (LIBCXXABI_USE_LLVM_UNWINDER)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37207.113787.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170904/9df66b4a/attachment-0001.bin>


More information about the cfe-commits mailing list