We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dca326 commit 822fdacCopy full SHA for 822fdac
Yubico.Core/src/Yubico/PlatformInterop/macOS/Interop.Libraries.cs
@@ -28,6 +28,7 @@ internal static partial class Libraries
28
internal static readonly string IOKitFramework;
29
internal static readonly string WinSCard;
30
31
+#if NET8_0_OR_GREATER
32
static Libraries()
33
{
34
string frameworkPath = Environment.GetEnvironmentVariable("DYLD_FRAMEWORK_PATH");
@@ -37,5 +38,13 @@ static Libraries()
37
38
IOKitFramework = Path.Combine(basePath, IOKitFrameworkBasePath);
39
WinSCard = Path.Combine(basePath, WinSCardBasePath);
40
}
41
+#else
42
+ static Libraries()
43
+ {
44
+ CoreFoundation = CoreFoundationBasePath;
45
+ IOKitFramework = IOKitFrameworkBasePath;
46
+ WinSCard = WinSCardBasePath;
47
+ }
48
+#endif
49
50
0 commit comments