[fpc-pascal] arm-android, SQLite and the default libary
Michael Van Canneyt
michael at freepascal.org
Thu Mar 7 17:52:02 CET 2013
On Thu, 7 Mar 2013, Sven Barth wrote:
> Hello together!
>
> I'm currently experimenting with porting our Windows Mobile client to
> Android. After some poor man's debugging I noticed that the wrong SQLite
> library is loaded. While we might want to change the default library for
> Android to 'libsqlite.so' I thought I'd experiment with the
> 'SQLiteDefaultLibrary' variable in sqlite3.inc only learn that sqlite3conn
> uses its own default variable 'SQLiteLibraryName'. A view into the
> subversion's log shows that the one in sqlite3.inc was added after the one in
> sqlite3conn. Now I suggest to either let sqlite3conn additionally check the
> 'SQLiteDefaultLibrary' or remove the 'SQLiteLibraryName' and use only
> 'SQLiteDefaultLibrary' to avoid potential further confusion...
The latter solution is the best. For backwards compatibility, I suggest we do a
SQLiteLibraryName = sqlite3dyn.SQLiteDefaultLibrary
Michael.
More information about the fpc-pascal
mailing list