diff options
-rw-r--r-- | libcxx/lib/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt index 578651423f3b..24c3067679fd 100644 --- a/libcxx/lib/CMakeLists.txt +++ b/libcxx/lib/CMakeLists.txt @@ -91,6 +91,7 @@ else() 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) |