@@ -43,7 +43,7 @@ private static IntPtr DllImportResolver(string libraryName, Assembly assembly, D
43
43
if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) && RuntimeInformation . ProcessArchitecture == Architecture . Arm64 )
44
44
return NativeLibrary . Load ( Path . Combine ( "runtimes" , "win-arm64" , "native" , "libcrypto-3-arm64.dll" ) , assembly , searchPath ) ;
45
45
if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) && RuntimeInformation . ProcessArchitecture == Architecture . Arm64 )
46
- return NativeLibrary . Load ( Path . Combine ( "runtimes" , "osx-arm64" , "native" , " libcrypto.3.dylib") , assembly , searchPath ) ;
46
+ return NativeLibrary . Load ( " libcrypto.3.dylib", assembly , searchPath ) ;
47
47
return IntPtr . Zero ;
48
48
}
49
49
@@ -56,7 +56,7 @@ private static IntPtr DllImportResolver(string libraryName, Assembly assembly, D
56
56
if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) && RuntimeInformation . ProcessArchitecture == Architecture . Arm64 )
57
57
return NativeLibrary . Load ( Path . Combine ( "runtimes" , "win-arm64" , "native" , "libssl-3-arm64.dll" ) , assembly , searchPath ) ;
58
58
if ( RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) && RuntimeInformation . ProcessArchitecture == Architecture . Arm64 )
59
- return NativeLibrary . Load ( Path . Combine ( "runtimes" , "osx-arm64" , "native" , " libssl.3.dylib") , assembly , searchPath ) ;
59
+ return NativeLibrary . Load ( " libssl.3.dylib", assembly , searchPath ) ;
60
60
return IntPtr . Zero ;
61
61
}
62
62
0 commit comments