[mono.sqlite] Provide the full path to the library for iOS
authorSebastien Pouliot <sebastien@xamarin.com>
Thu, 25 Jun 2015 22:43:12 +0000 (18:43 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Thu, 25 Jun 2015 22:43:12 +0000 (18:43 -0400)
mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/UnsafeNativeMethods.cs

index bde7bdeb3dafee0e39a050753dff01fdc5887be8..c5ae7c6ff2cf89e15ebc564530921fa6c3d0474b 100644 (file)
@@ -30,6 +30,8 @@ namespace Mono.Data.Sqlite
     private const string SQLITE_DLL = "SQLite.Interop.DLL";\r
 #endif // USE_INTEROP_DLL\r
 \r
+#elif MONOTOUCH\r
+       private const string SQLITE_DLL = "/usr/lib/libsqlite3.dylib";\r
 #else\r
     private const string SQLITE_DLL = "sqlite3";\r
 #endif\r