1) Adding support to invoke CLang/Linker for Mac

2) Expecting AppDep native libs to be under <AppDepRoot>\CPPSdk\<OS>\x64 folder instead of <AppDepRoot>
Update the references to Microsoft.DotNet.ILCompiler and Microsoft.DotNet.AppDep packages with Mac CPPCodegen support.
This commit is contained in:
Gaurav Khanna 2015-11-20 15:32:44 -08:00
parent 1f6a500654
commit 2d81eced8c
7 changed files with 137 additions and 31 deletions

View file

@ -87,10 +87,11 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
}
// AppDep Libs
var baseAppDeplibPath = Path.Combine(config.AppDepSDKPath, "CPPSdk/ubuntu.14.04/x64");
foreach (var lib in appdeplibs)
{
var libPath = Path.Combine(config.AppDepSDKPath, lib);
argsList.Add(libPath);
var appDeplibPath = Path.Combine(baseAppDeplibPath, lib);
argsList.Add(appDeplibPath);
}
argsList.Add(cLibsFlags);