[fpc-pascal] arm-android, SQLite and the default libary

Sven Barth pascaldragon at googlemail.com
Thu Mar 7 17:28:19 CET 2013


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...

Regards,
Sven



More information about the fpc-pascal mailing list