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

19 lines
371 B
Bash
Raw Normal View History

2023-11-15 12:05:20 -05:00
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
2023-01-03 11:11:21 -05:00
2023-11-15 12:05:20 -05:00
export PKG_CONFIG_PATH=$HOME/lib/pkgconfig
2023-01-03 11:11:21 -05:00
./configure \
2023-11-15 12:05:20 -05:00
--prefix=$HOME \
2023-01-03 11:11:21 -05:00
--host=i586-pc-msdosdjgpp \
--enable-static=yes \
--enable-shared=no \
--disable-documentation
2023-11-15 12:05:20 -05:00
make -j $(nproc)
2023-01-03 11:11:21 -05:00
make install