Merge pull request #7951 from wfurt/freebsd
add basic support for FreeBSD
This commit is contained in:
commit
c9ac5c9c02
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,8 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
return OSX;
|
||||
case Platform.Linux:
|
||||
return Linux;
|
||||
case Platform.FreeBSD:
|
||||
return FreeBSD;
|
||||
default:
|
||||
throw new InvalidOperationException("Unknown Platform");
|
||||
}
|
||||
|
@ -62,6 +64,8 @@ namespace Microsoft.DotNet.Cli.Utils
|
|||
StaticLib = ".a"
|
||||
};
|
||||
|
||||
public static PlatformFileNameSuffixes FreeBSD { get; } = Linux;
|
||||
|
||||
public struct PlatformFileNameSuffixes
|
||||
{
|
||||
public string DynamicLib { get; internal set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue