diff options
Diffstat (limited to 'libraries/sqlite/unix/sqlite-3.5.1/mkextu.sh')
-rw-r--r-- | libraries/sqlite/unix/sqlite-3.5.1/mkextu.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/sqlite/unix/sqlite-3.5.1/mkextu.sh b/libraries/sqlite/unix/sqlite-3.5.1/mkextu.sh new file mode 100644 index 0000000..1d96897 --- /dev/null +++ b/libraries/sqlite/unix/sqlite-3.5.1/mkextu.sh | |||
@@ -0,0 +1,13 @@ | |||
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 | ||