Fix mingw build failures caused by r349839
Reviewers: mstorsjo Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D56004 llvm-svn: 349990
This commit is contained in:
parent
4749a3ffb2
commit
7dca9bbef7
|
@ -658,6 +658,10 @@ macro(add_llvm_library name)
|
|||
set(install_type ARCHIVE)
|
||||
endif()
|
||||
|
||||
if (ARG_MODULE)
|
||||
set(install_type LIBRARY)
|
||||
endif()
|
||||
|
||||
if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
|
||||
NOT LLVM_DISTRIBUTION_COMPONENTS)
|
||||
set(export_to_llvmexports EXPORT LLVMExports)
|
||||
|
|
Loading…
Reference in New Issue