Skip to content

Commit

Permalink
Use lib prefix for native library names for consistency (#39717)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas authored Jul 22, 2020
1 parent 9e846df commit d8cf13e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/coreclr/src/vm/reflectioninvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2391,7 +2391,6 @@ FCIMPL1(INT32, ReflectionEnum::InternalGetCorElementType, Object *pRefThis) {
return pMT->GetClass_NoLogging()->GetInternalCorElementType();
}
FCIMPLEND
#include <optdefault.h>

//*******************************************************************************
struct TempEnumValue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ internal static partial class Interop
internal static partial class Libraries
{
internal const string Odbc32 = "libodbc.so.2";
internal const string MsQuic = "msquic";
internal const string MsQuic = "libmsquic.so";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ internal static partial class Libraries
{
internal const string Odbc32 = "libodbc.so.2";
internal const string OpenLdap = "libldap-2.4.so.2";
internal const string MsQuic = "msquic";
internal const string MsQuic = "libmsquic.so";
}
}
10 changes: 5 additions & 5 deletions src/libraries/Common/src/Interop/OSX/Interop.Libraries.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ internal static partial class Libraries
internal const string CFNetworkLibrary = "/System/Library/Frameworks/CFNetwork.framework/CFNetwork";
internal const string libobjc = "/usr/lib/libobjc.dylib";
internal const string libproc = "/usr/lib/libproc.dylib";
internal const string LibSystemCommonCrypto = "/usr/lib/system/libcommonCrypto";
internal const string LibSystemKernel = "/usr/lib/system/libsystem_kernel";
internal const string LibSystemCommonCrypto = "/usr/lib/system/libcommonCrypto.dylib";
internal const string LibSystemKernel = "/usr/lib/system/libsystem_kernel.dylib";
internal const string Odbc32 = "libodbc.2.dylib";
internal const string OpenLdap = "libldap";
internal const string OpenLdap = "libldap.dylib";
internal const string SystemConfigurationLibrary = "/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration";
internal const string AppleCryptoNative = "System.Security.Cryptography.Native.Apple";
internal const string MsQuic = "msquic";
internal const string AppleCryptoNative = "libSystem.Security.Cryptography.Native.Apple.dylib";
internal const string MsQuic = "libmsquic.dylib";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ internal static partial class Interop
internal static partial class Libraries
{
// Shims
public const string CryptoNative = "System.Security.Cryptography.Native.OpenSsl";
public const string SystemNative = "System.Native";
public const string CryptoNative = "libSystem.Security.Cryptography.Native.OpenSsl";
public const string SystemNative = "libSystem.Native";
}
}

0 comments on commit d8cf13e

Please sign in to comment.