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.
1 parent 485f0d1 commit b4e14d543394ee57b55c8fcf427a1108228783b3
@Martin Kinkelin Martin Kinkelin authored on 17 Aug 2019
Showing 1 changed file
View
source/dub/compilers/ldc.d