Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Side by Side Diff: third_party/sqlite/src/mkextw.sh

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/sh
2 #
3 # This script is used to compile SQLite extensions into DLLs.
4 #
5 make fts2amal.c
6 PATH=$PATH:/opt/mingw/bin
7 OPTS='-DTHREADSAFE=1 -DBUILD_sqlite=1 -DSQLITE_OS_WIN=1'
8 CC="i386-mingw32msvc-gcc -O2 $OPTS -Itsrc"
9 NM="i386-mingw32msvc-nm"
10 CMD="$CC -c fts2amal.c"
11 echo $CMD
12 $CMD
13 echo 'EXPORTS' >fts2.def
14 echo 'sqlite3_extension_init' >>fts2.def
15 i386-mingw32msvc-dllwrap \
16 --def fts2.def -v --export-all \
17 --driver-name i386-mingw32msvc-gcc \
18 --dlltool-name i386-mingw32msvc-dlltool \
19 --as i386-mingw32msvc-as \
20 --target i386-mingw32 \
21 -dllname fts2.dll -lmsvcrt fts2amal.o
22 zip fts2dll.zip fts2.dll fts2.def
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698