Skip to content

Commit 27087b9

Browse files
committed
fix: specify full dir for macos dependencies for NET8 and greater
1 parent de69f1f commit 27087b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Yubico.Core/src/Yubico/PlatformInterop/macOS/Interop.Libraries.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,17 @@
1414

1515
namespace Yubico.PlatformInterop
1616
{
17+
1718
internal static partial class Libraries
1819
{
20+
#if NET8_0_OR_GREATER
21+
internal const string CoreFoundation = "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";
22+
internal const string IOKitFramework = "/System/Library/Frameworks/IOKit.framework/IOKit";
23+
internal const string WinSCard = "/System/Library/Frameworks/PCSC.framework/PCSC";
24+
#else
1925
internal const string CoreFoundation = "CoreFoundation.framework/CoreFoundation";
2026
internal const string IOKitFramework = "IOKit.framework/IOKit";
2127
internal const string WinSCard = "PCSC.framework/PCSC";
2228
}
29+
#endif
2330
}

0 commit comments

Comments
 (0)