Link in msvcrt, Fix output path bug

This commit is contained in:
Bryan 2015-11-18 16:27:25 -08:00 committed by Livar Cunha
parent d0100335da
commit 8b66db56c6
2 changed files with 6 additions and 2 deletions

View file

@ -29,6 +29,10 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
Console.WriteLine(e.Message);
}
}
else
{
Directory.CreateDirectory(path);
}
}
}
}

View file

@ -48,8 +48,8 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
private static readonly Dictionary<BuildConfiguration, string[]> ConfigurationLinkLibMap = new Dictionary<BuildConfiguration, string[]>()
{
{ BuildConfiguration.debug , new string[] { "msvcrtd" } },
{ BuildConfiguration.release , new string[] { "msvcrt" } }
{ BuildConfiguration.debug , new string[] { "msvcrtd.lib" } },
{ BuildConfiguration.release , new string[] { "msvcrt.lib" } }
};
private string ArgStr { get; set; }