[PATCH] D37116: Enable building LLVMgold.dll under mingw.

Stephen Hines via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 19:08:47 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL311973: Enable building LLVMgold.dll under mingw. (authored by srhines).

Repository:
  rL LLVM

https://reviews.llvm.org/D37116

Files:
  llvm/trunk/cmake/modules/HandleLLVMOptions.cmake


Index: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
@@ -792,7 +792,7 @@
 # Plugin support
 # FIXME: Make this configurable.
 if(WIN32 OR CYGWIN)
-  if(BUILD_SHARED_LIBS)
+  if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
     set(LLVM_ENABLE_PLUGINS ON)
   else()
     set(LLVM_ENABLE_PLUGINS OFF)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37116.113010.patch
Type: text/x-patch
Size: 475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170829/79b11ec1/attachment.bin>


More information about the llvm-commits mailing list