Merge pull request #334 from dotnet/schellap-linux

Fix path to libSystem.Native.a on Linux
This commit is contained in:
Senthil 2015-11-25 21:00:42 -08:00
commit fa877fc17c

View file

@ -78,10 +78,11 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
}
// AppDep Libs
var baseAppDepLibPath = Path.Combine(config.AppDepSDKPath, "CPPSdk/ubuntu.14.04", config.Architecture.ToString());
foreach (var lib in appdeplibs)
{
var libPath = Path.Combine(config.AppDepSDKPath, lib);
argsList.Add(libPath);
var appDepLibPath = Path.Combine(baseAppDepLibPath, lib);
argsList.Add(appDepLibPath);
}
// Output
@ -138,4 +139,4 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
return outfile;
}
}
}
}