1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

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:
Tom Stellard 2018-12-22 03:43:08 +00:00
parent 222d48e1ba
commit ab11edc4b3

View File

@ -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)