diff --git a/src/Geralt/Interop/Interop.Constants.cs b/src/Geralt/Interop/Interop.Constants.cs index 6fbeed8..add20f5 100644 --- a/src/Geralt/Interop/Interop.Constants.cs +++ b/src/Geralt/Interop/Interop.Constants.cs @@ -4,7 +4,11 @@ internal static partial class Interop { internal static partial class Libsodium { +#if IOS + private const string DllName = "__Internal"; +#else private const string DllName = "libsodium"; +#endif private const CallingConvention Convention = CallingConvention.Cdecl; } }