From: Sebastien Pouliot Date: Thu, 25 Jun 2015 22:43:12 +0000 (-0400) Subject: [mono.sqlite] Provide the full path to the library for iOS X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=928a46005f89296267100ed090d9bf325d822f69;p=mono.git [mono.sqlite] Provide the full path to the library for iOS --- 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