File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,18 @@ ROOT=../../
7
7
BINARYEN=" $ROOT /tools/binaryen/bin"
8
8
WASI_SDK=" $ROOT /tools/wasi-sdk/bin"
9
9
10
- trap ' rm -rf build/ sqlite / bcw2.tmp' EXIT
10
+ trap ' rm -rf sqlite/ build / bcw2.tmp' EXIT
11
11
12
+ mkdir -p sqlite/
12
13
mkdir -p build/ext/
13
14
cp " $ROOT " /sqlite3/* .[ch] build/
14
15
cp " $ROOT " /sqlite3/* .patch build/
16
+ cd sqlite/
15
17
16
18
# https://sqlite.org/src/info/ba2174bdca7d1d1a
17
- curl -# https://sqlite.org/src/tarball/sqlite.tar.gz? r=ba2174bdca | tar xz
19
+ curl -#L https://github.com/sqlite/sqlite/archive/b46738f.tar.gz | tar xz --strip-components=1
20
+ # curl -#L https://sqlite.org/src/tarball/sqlite.tar.gz?r=ba2174bdca | tar xz --strip-components=1
18
21
19
- cd sqlite
20
22
if [[ " $OSTYPE " == " msys" || " $OSTYPE " == " cygwin" ]]; then
21
23
MSYS_NO_PATHCONV=1 nmake /f makefile.msc sqlite3.c " OPTS=-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT -DSQLITE_ENABLE_ORDERED_SET_AGGREGATES"
22
24
else
You can’t perform that action at this time.
0 commit comments