1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/docker/win64-static/build_sqlite3.sh

15 lines
445 B
Bash
Raw Normal View History

cd
wget https://www.sqlite.org/2023/sqlite-autoconf-3440000.tar.gz
rm -rf sqlite-autoconf-3440000
tar xf sqlite-autoconf-3440000.tar.gz
cd sqlite-autoconf-3440000
./configure --host=x86_64-w64-mingw32 --prefix=$HOME \
--enable-static=yes \
--enable-shared=no \
--disable-readline \
CC=x86_64-w64-mingw32-gcc \
CPPFLAGS="-I$HOME/include -Wall" \
LDFLAGS="-L$HOME/lib"
make -j $(nproc)
make install