derle.sh 772 B

12345678910111213141516171819202122
  1. export CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \
  2. -DSQLITE_ENABLE_UNLOCK_NOTIFY \
  3. -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
  4. -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \
  5. -DSQLITE_SECURE_DELETE \
  6. -DSQLITE_MAX_VARIABLE_NUMBER=250000 \
  7. -DSQLITE_MAX_EXPR_DEPTH=10000"
  8. # build sqlite
  9. cd sqlite-src-3280000
  10. ./configure --prefix=/usr \
  11. --disable-static \
  12. --disable-amalgamation \
  13. --enable-fts3 \
  14. --enable-fts4 \
  15. --enable-fts5 \
  16. --enable-rtree \
  17. --enable-json1 \
  18. TCLLIBDIR=/usr/lib/sqlite$surum
  19. make
  20. # build additional tools
  21. make showdb showjournal showstat4 showwal sqldiff sqlite3_analyzer