mkextu.sh 420 B

12345678910111213
  1. #!/bin/sh
  2. #
  3. # This script is used to compile SQLite into a shared library on Linux.
  4. #
  5. # Two separate shared libraries are generated. "sqlite3.so" is the core
  6. # library. "tclsqlite3.so" contains the TCL bindings and is the
  7. # library that is loaded into TCL in order to run SQLite.
  8. #
  9. CFLAGS=-O2 -Wall
  10. make fts2amal.c
  11. echo gcc $CFLAGS -shared fts2amal.c -o fts2.so
  12. gcc $CFLAGS -shared fts2amal.c -o fts2.so
  13. strip fts2.so