1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
elinks/docker/win32-static/build_iconv.sh
2023-11-10 17:49:17 +01:00

14 lines
381 B
Bash

cd
wget https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz
rm -rf libiconv-1.17
tar xf libiconv-1.17.tar.gz
cd libiconv-1.17
./configure --host=i686-w64-mingw32 --prefix=$HOME \
--enable-static=yes \
--enable-shared=no \
CC=i686-w64-mingw32-gcc \
CPPFLAGS="-I$HOME/include -Wall" \
LDFLAGS="-L$HOME/lib"
make -j $(nproc)
make install