File: mkextu.sh

package info (click to toggle)
sqlite3 3.5.9-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 11,520 kB
  • ctags: 7,648
  • sloc: ansic: 82,579; tcl: 21,877; sh: 8,440; makefile: 960; yacc: 832; awk: 208
file content (13 lines) | stat: -rw-r--r-- 420 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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