From 928a46005f89296267100ed090d9bf325d822f69 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Thu, 25 Jun 2015 18:43:12 -0400 Subject: [PATCH] [mono.sqlite] Provide the full path to the library for iOS --- .../Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs index bde7bdeb3da..c5ae7c6ff2c 100644 --- a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs +++ b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs @@ -30,6 +30,8 @@ namespace Mono.Data.Sqlite private const string SQLITE_DLL = "SQLite.Interop.DLL"; #endif // USE_INTEROP_DLL +#elif MONOTOUCH + private const string SQLITE_DLL = "/usr/lib/libsqlite3.dylib"; #else private const string SQLITE_DLL = "sqlite3"; #endif -- 2.25.1