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

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 11:21:37 PST 2018


mstorsjo added a comment.

In https://reviews.llvm.org/D43811#1020847, @rnk wrote:

> This means, link the CRT and other default libraries statically, but give me a DLL, right? Just confirming.


Exactly - for all libraries linked where you have the choice of both dynamic and static, pick the static one. (In mingw, you can't link the CRT statically though, so that, and any windows system dlls will still be linked dynamically.)


Repository:
  rC Clang

https://reviews.llvm.org/D43811





More information about the cfe-commits mailing list