1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/docker/djgpp/build_libidn2.sh
2023-11-15 18:05:20 +01:00

19 lines
371 B
Bash
Executable File

cd
rm -rf libidn2-2.3.4
wget https://ftp.gnu.org/gnu/libidn/libidn2-2.3.4.tar.gz
tar xvf libidn2-2.3.4.tar.gz
cd libidn2-2.3.4
patch -p1 < ../getprogname.diff || exit 1
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig
./configure \
--prefix=$HOME \
--host=i586-pc-msdosdjgpp \
--enable-static=yes \
--enable-shared=no \
--disable-documentation
make -j $(nproc)
make install