projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mono.sqlite] Provide the full path to the library for iOS
[mono.git]
/
mcs
/
class
/
Mono.Data.Sqlite
/
Mono.Data.Sqlite_2.0
/
UnsafeNativeMethods.cs
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 bde7bdeb3dafee0e39a050753dff01fdc5887be8..c5ae7c6ff2cf89e15ebc564530921fa6c3d0474b 100644
(file)
--- 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";
\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