Small. Fast. Reliable.
Choose any three.
*** 339,349 ****
  7. Invoke mingw32-make to compile the resulting Makefile. (make isn't used anymore - see http://
  www.mingw.org/mingwfaq.shtml#faq-mingw32-make.exe)
  
! 8. Find within the source distribution a file called sqlite.def.  Copy it
     to the build directory.
  
! 9. Invoke:  dllwrap --dllname sqlite.dll --def sqlite.def *.o
! (or if this doesn't work, dllwrap --def sqlite.def -v --export-all --driver-name gcc --dlltool-name
  dlltool --as as --target i386-mingw32 -dllname sqlite.dll -lmsvcrt *.o)
  
  9. strip sqlite.dll
--- 339,349 ----
  7. Invoke mingw32-make to compile the resulting Makefile. (make isn't used anymore - see http://
  www.mingw.org/mingwfaq.shtml#faq-mingw32-make.exe)
  
! 8. Find within the source distribution a file called sqlite3.def.  Copy it
     to the build directory.
  
! 9. Invoke:  dllwrap --dllname sqlite.dll --def sqlite3.def *.o
! (or if this doesn't work, dllwrap --def sqlite3.def -v --export-all --driver-name gcc --dlltool-name
  dlltool --as as --target i386-mingw32 -dllname sqlite.dll -lmsvcrt *.o)
  
  9. strip sqlite.dll
***************
*** 367,373 ****
  6. Remove the unit1.* files from your project
  
  7. Even if .def files are not the clean way, it will be easier than rewriting the sourcecode. Create the file
! sqlite.def with the following content and  add it to the project:
  
     LIBRARY sqlite.dll
     EXPORTS
--- 367,373 ----
  6. Remove the unit1.* files from your project
  
  7. Even if .def files are not the clean way, it will be easier than rewriting the sourcecode. Create the file
! sqlite3.def with the following content and  add it to the project:
  
     LIBRARY sqlite.dll
     EXPORTS