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