Changing shared library name on Unix OS type

This commit is contained in:
Louis DeJardin 2014-10-13 22:48:47 -07:00
parent ba0e3321bf
commit dcf55abc9f
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ namespace Microsoft.AspNet.Server.Kestrel
architecture, architecture,
"libuv.dll"); "libuv.dll");
} }
else if ((int)Environment.OSVersion.Platform == 4)
{
libraryPath = "libuv.so.1";
}
else else
{ {
libraryPath = Path.Combine( libraryPath = Path.Combine(