1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/docker/win64-static/build_expat.sh
2023-11-10 16:29:13 +01:00

14 lines
369 B
Bash

cd
wget https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
rm -rf expat-2.5.0
tar -xf expat-2.5.0.tar.gz
cd expat-2.5.0
./configure --host=x86_64-w64-mingw32 --prefix=$HOME \
--enable-static=yes \
--enable-shared=no \
CC=x86_64-w64-mingw32-gcc \
CPPFLAGS="-I$HOME/include -Wall" \
LDFLAGS="-L$HOME/lib"
make -j $(nproc)
make install