ef4c035275
Add spellfix to the shell when building using the build-shell.sh script. FossilOrigin-Name: 7813b17d8b9fe48ddc841fe1c4bb75f7747073de
27 lines
828 B
Bash
27 lines
828 B
Bash
#!/bin/sh
|
|
#
|
|
# This script demonstrates how to do a full-featured build of the sqlite3
|
|
# command-line shell on Linux.
|
|
#
|
|
# SQLite source code should be in a sibling directory named "sqlite". For
|
|
# example, put SQLite sources in ~/sqlite/sqlite and run this script from
|
|
# ~/sqlite/bld. There should be an appropriate Makefile in the current
|
|
# directory as well.
|
|
#
|
|
make sqlite3.c
|
|
gcc -o sqlite3 -g -Os -I. \
|
|
-DSQLITE_THREADSAFE=0 \
|
|
-DSQLITE_ENABLE_VFSTRACE \
|
|
-DSQLITE_ENABLE_STAT3 \
|
|
-DSQLITE_ENABLE_FTS4 \
|
|
-DSQLITE_ENABLE_RTREE \
|
|
-DSQLITE_ENABLE_REGEXP \
|
|
-DSQLITE_ENABLE_SPELLFIX -DSQLITE_CORE=1 \
|
|
-DHAVE_READLINE \
|
|
-DHAVE_USLEEP=1 \
|
|
../sqlite/src/shell.c \
|
|
../sqlite/src/test_regexp.c \
|
|
../sqlite/src/test_spellfix.c \
|
|
../sqlite/src/test_vfstrace.c \
|
|
sqlite3.c -ldl -lreadline -lncurses
|