diff --git a/source/dub/compilers/ldc.d b/source/dub/compilers/ldc.d index dbc77fd..8c80c18 100644 --- a/source/dub/compilers/ldc.d +++ b/source/dub/compilers/ldc.d @@ -150,7 +150,7 @@ ~platform.compilerBinary~" -version\" failed with exit code " ~result.status.to!string()~"."); - bool generates_coff = result.output.splitLines.find!(l => l.strip.toLower.startsWith("default target:")).front.canFind("-windows-msvc"); + bool generates_coff = result.output.splitLines.find!(l => l.strip.toLower.startsWith("default target:")).front.canFind("msvc"); final switch (settings.targetType) { case TargetType.autodetect: assert(false, "Configurations must have a concrete target type.");