HomePhabricator

[MinGW, CrossWindows] Allow passing -static together with -shared

Authored by mstorsjo on Feb 27 2018, 11:42 AM.

Description

[MinGW, CrossWindows] Allow passing -static together with -shared

In these combinations, link a DLL as usual, but pass -Bstatic instead
of -Bdynamic to indicate prefering static libraries.

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

llvm-svn: 326235

Details

Committed
mstorsjoFeb 27 2018, 11:42 AM
Differential Revision
D43811: [MinGW, CrossWindows] Allow passing -static together with -shared
Parents
rGd1400213f524: [analyzer] Remove redundant check
Branches
Unknown
Tags
Unknown