mirror of
https://github.com/sqlite/sqlite.git
synced 2024-11-24 08:07:42 +01:00
d6e78a2e4f
FossilOrigin-Name: e269f6e9f6273210259a488c356f4996d75c6436
14 lines
420 B
Bash
14 lines
420 B
Bash
#!/bin/sh
|
|
#
|
|
# This script is used to compile SQLite into a shared library on Linux.
|
|
#
|
|
# Two separate shared libraries are generated. "sqlite3.so" is the core
|
|
# library. "tclsqlite3.so" contains the TCL bindings and is the
|
|
# library that is loaded into TCL in order to run SQLite.
|
|
#
|
|
CFLAGS=-O2 -Wall
|
|
make fts2amal.c
|
|
echo gcc $CFLAGS -shared fts2amal.c -o fts2.so
|
|
gcc $CFLAGS -shared fts2amal.c -o fts2.so
|
|
strip fts2.so
|