ldc2: Fix MSVC target detection for static libs
With --arch, the build (target) platform might now diverge from the host platform. The compiler's default triple doesn't matter when cross-compiling, so use the <name>.lib MSVC format when targeting Windows but not MinGW. This fixes one aspect of #1599. |
---|
|
source/dub/compilers/ldc.d |
---|