From 4f44db6febd749c2ee2f0270e9e787270468a40b Mon Sep 17 00:00:00 2001 From: Tomas Weinfurt Date: Sat, 2 May 2020 09:09:57 -0700 Subject: [PATCH] build HTTP on FreeBSD once again (#35742) --- .../Common/src/Interop/FreeBSD/Interop.Libraries.cs | 1 + src/libraries/System.Net.Http/src/System.Net.Http.csproj | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libraries/Common/src/Interop/FreeBSD/Interop.Libraries.cs b/src/libraries/Common/src/Interop/FreeBSD/Interop.Libraries.cs index 1cec655872f74b..25f0ce0a445e92 100644 --- a/src/libraries/Common/src/Interop/FreeBSD/Interop.Libraries.cs +++ b/src/libraries/Common/src/Interop/FreeBSD/Interop.Libraries.cs @@ -7,5 +7,6 @@ internal static partial class Interop internal static partial class Libraries { internal const string Odbc32 = "libodbc.so.2"; + internal const string MsQuic = "msquic"; } } diff --git a/src/libraries/System.Net.Http/src/System.Net.Http.csproj b/src/libraries/System.Net.Http/src/System.Net.Http.csproj index 868333e6d7013e..3c46dc89ef1b71 100644 --- a/src/libraries/System.Net.Http/src/System.Net.Http.csproj +++ b/src/libraries/System.Net.Http/src/System.Net.Http.csproj @@ -7,7 +7,7 @@ $(NoWarn);0436;CS1573 true $(DefineConstants);HTTP_DLL - $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS + $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)-FreeBSD enable @@ -314,6 +314,11 @@ + + + +