[llvm-shlib] Do not use version script when building with MinGW
authorPirama Arumuga Nainar <pirama@google.com>
Tue, 25 Jun 2019 19:34:52 +0000 (19:34 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Tue, 25 Jun 2019 19:34:52 +0000 (19:34 +0000)
commit7803eac24f3ee3025308db8b2eaf37cd7a6e825f
tree7a57033e6e51355ce56cfafac98047b2c590f31c
parent688afeb884484edaab526c68689db816d993a257
[llvm-shlib] Do not use version script when building with MinGW

Summary:
The MinGW driver for lld does not support the --version-script option.
For GNU ld, it's a no-op since LLVM.dll exports all symbols.

Reviewers: srhines, mstorsjo

Subscribers: mgorny, fedor.sergeev, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63743

llvm-svn: 364343
llvm/tools/llvm-shlib/CMakeLists.txt