fix flag checks
[sqlcipher.git] / mkextu.sh
blob1d968977694309800cdcc6ade0d32796571ad8b0
1 #!/bin/sh
3 # This script is used to compile SQLite into a shared library on Linux.
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.
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