From e1431c6e6a98c986ce642bb80de4d323c179e811 Mon Sep 17 00:00:00 2001 From: ektrah Date: Mon, 15 May 2023 16:55:19 +0200 Subject: [PATCH] Add initial support for iOS --- src/Cryptography/NSec.Cryptography.csproj | 2 +- src/Experimental/NSec.Experimental.csproj | 2 +- src/Interop/Interop.Libraries.cs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Cryptography/NSec.Cryptography.csproj b/src/Cryptography/NSec.Cryptography.csproj index d2df9070..d63750e0 100644 --- a/src/Cryptography/NSec.Cryptography.csproj +++ b/src/Cryptography/NSec.Cryptography.csproj @@ -1,7 +1,7 @@  - net6.0 + net6.0;net6.0-ios diff --git a/src/Experimental/NSec.Experimental.csproj b/src/Experimental/NSec.Experimental.csproj index bdcfcea1..9d092486 100644 --- a/src/Experimental/NSec.Experimental.csproj +++ b/src/Experimental/NSec.Experimental.csproj @@ -1,7 +1,7 @@  - net6.0 + net6.0;net6.0-ios diff --git a/src/Interop/Interop.Libraries.cs b/src/Interop/Interop.Libraries.cs index e6ffc372..c178edfa 100644 --- a/src/Interop/Interop.Libraries.cs +++ b/src/Interop/Interop.Libraries.cs @@ -2,6 +2,10 @@ internal static partial class Interop { private static class Libraries { +#if IOS + internal const string Libsodium = "__Internal"; +#else internal const string Libsodium = "libsodium"; +#endif } }