FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sqlcipher/mkso.sh at Xcode5 · feiyangwei/sqlcipher · GitHub
feiyangwei
/
sqlcipher
Public
forked from
sqlcipher/sqlcipher
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sqlcipher
/
mkso.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (32 loc) · 937 Bytes
Breadcrumbs
sqlcipher
/
mkso.sh
Copy path
File metadata and controls
32 lines (32 loc) · 937 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!
/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.
#
make target_source
cd
tsrc
rm shell.c
TCLDIR=/home/drh/tcltk/846/linux/846linux
TCLSTUBLIB=
$TCLDIR
/libtclstub8.4g.a
OPTS=
'
-DUSE_TCL_STUBS=1 -DNDEBUG=1 -DHAVE_DLOPEN=1
'
OPTS=
"
$OPTS
-DSQLITE_THREADSAFE=1
"
OPTS=
"
$OPTS
-DSQLITE_ENABLE_FTS3=1
"
OPTS=
"
$OPTS
-DSQLITE_ENABLE_COLUMN_METADATA=1
"
for
i
in
*
.c
;
do
if
test
$i
!
=
'
keywordhash.c
'
;
then
CMD=
"
cc -fPIC
$OPTS
-O2 -I. -I
$TCLDIR
-c
$i
"
echo
$CMD
$CMD
fi
done
echo
gcc -shared
*
.o
$TCLSTUBLIB
-o tclsqlite3.so
gcc -shared
*
.o
$TCLSTUBLIB
-o tclsqlite3.so
strip tclsqlite3.so
rm tclsqlite.c tclsqlite.o
echo
gcc -shared
*
.o -o sqlite3.so
gcc -shared
*
.o -o sqlite3.so
strip sqlite3.so
cd
..
Back
|
FazBrowse Home
|
New Git URL