/ Check-in [d384810a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a bug in the compilation procedures for the Linux shared library that includes the TCL bindings. (CVS 4604)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d384810a95c97b868a87d090f8dcb903cc82cbf7
User & Date: drh 2007-12-10 17:55:16
Context
2007-12-10
18:07
Fix a macro in func.c that causes problems for the amalgamation. (CVS 4605) check-in: 6adbe91e user: drh tags: trunk
17:55
Fix a bug in the compilation procedures for the Linux shared library that includes the TCL bindings. (CVS 4604) check-in: d384810a user: drh tags: trunk
05:03
Fix compilation/testing with OMIT_SUBQUERY defined. Ticket #2828. (CVS 4603) check-in: 0b34a186 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to publish.sh.

    22     22   
    23     23   # Start by building an sqlite shell for linux.
    24     24   #
    25     25   make clean
    26     26   make sqlite3.c
    27     27   make fts3amal.c
    28     28   cat fts3amal.c >>sqlite3.c
           29  +cat fts3amal.c >>tclsqlite3.c
    29     30   CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_THREADSAFE=0"
    30     31   echo '***** '"COMPILING sqlite3-$VERS.bin..."
    31     32   gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o sqlite3 -ldl
    32     33   strip sqlite3
    33     34   mv sqlite3 sqlite3-$VERS.bin
    34     35   gzip sqlite3-$VERS.bin
    35     36   chmod 644 sqlite3-$VERS.bin.gz
................................................................................
    51     52   # Build the sqlite.so and tclsqlite.so shared libraries
    52     53   # under Linux
    53     54   #
    54     55   TCLDIR=/home/drh/tcltk/846/linux/846linux
    55     56   TCLSTUBLIB=$TCLDIR/libtclstub8.4g.a
    56     57   CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1"
    57     58   echo '***** BUILDING shared libraries for linux'
    58         -gcc $CFLAGS -shared -Itsrc sqlite3.c tsrc/tclsqlite.c $TCLSTUBLIB \
    59         -    -o tclsqlite3.so
           59  +gcc $CFLAGS -shared tclsqlite3.c $TCLSTUBLIB -o tclsqlite3.so -lpthread
    60     60   strip tclsqlite3.so
    61     61   chmod 644 tclsqlite3.so
    62     62   mv tclsqlite3.so tclsqlite-$VERS.so
    63     63   gzip tclsqlite-$VERS.so
    64     64   mv tclsqlite-$VERS.so.gz doc
    65         -gcc $CFLAGS -shared -Itsrc sqlite3.c -o sqlite3.so
           65  +gcc $CFLAGS -shared sqlite3.c -o sqlite3.so -lpthread
    66     66   strip sqlite3.so
    67     67   chmod 644 sqlite3.so
    68     68   mv sqlite3.so sqlite-$VERS.so
    69     69   gzip sqlite-$VERS.so
    70     70   mv sqlite-$VERS.so.gz doc
    71     71   
    72     72