[PATCH] D37116: Enable building LLVMgold.dll under mingw.
Stephen Hines via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 24 11:47:16 PDT 2017
srhines created this revision.
Herald added a subscriber: mgorny.
Plugins can (and should) be enabled under mingw if we are building
libLLVM.dll, so this is just a missed case. This allows LLVMgold.dll to
be built now under mingw.
https://reviews.llvm.org/D37116
Files:
cmake/modules/HandleLLVMOptions.cmake
Index: cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- cmake/modules/HandleLLVMOptions.cmake
+++ cmake/modules/HandleLLVMOptions.cmake
@@ -791,7 +791,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.112590.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170824/9c77ea0c/attachment.bin>
More information about the llvm-commits
mailing list