Allow undefined symbols when linking libc++abi.dll on Windows
authorEric Fiselier <eric@efcs.ca>
Thu, 11 May 2017 03:49:48 +0000 (03:49 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 11 May 2017 03:49:48 +0000 (03:49 +0000)
llvm-svn: 302761

libcxxabi/CMakeLists.txt

index 9b3e9c4..2a0b4da 100644 (file)
@@ -431,7 +431,8 @@ endif()
 
 set(LIBCXXABI_HAS_UNDEFINED_SYMBOLS OFF)
 if ((NOT LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS)
-    OR (LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY AND LIBCXXABI_ENABLE_SHARED))
+    OR (LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY AND LIBCXXABI_ENABLE_SHARED)
+    OR MINGW)
   set(LIBCXXABI_HAS_UNDEFINED_SYMBOLS ON)
 endif()