Skip to content

Commit

Permalink
upgrade sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Nov 28, 2018
1 parent a55c4ef commit ef54919
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build/
dist/
typings/
sqlite3.o
sqlite-amalgamation-3110000.zip
sqlite-autoconf-3250300.tar.gz

# Created by https://www.gitignore.io/api/d,node,vagrant

Expand Down
8 changes: 4 additions & 4 deletions sqlite3.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

if [ ! -f sqlite3.o ]; then
wget -c https://www.sqlite.org/2016/sqlite-amalgamation-3110000.zip
unzip -o sqlite-amalgamation-3110000.zip sqlite-amalgamation-3110000/sqlite3.c
cc -O2 -c -fPIC sqlite-amalgamation-3110000/sqlite3.c
rm -rf sqlite-amalgamation-3110000
wget -c https://www.sqlite.org/2018/sqlite-autoconf-3250300.tar.gz
tar -zxf sqlite-autoconf-3250300.tar.gz
cc -O2 -c -fPIC sqlite-autoconf-3250300/sqlite3.c
rm -rf sqlite-autoconf-3250300
fi

0 comments on commit ef54919

Please sign in to comment.