adofai-ffmpeg-builder/scripts/build-iconv.sh

22 lines
365 B
Bash

export iconvPath=$workDir/iconv
rm -rf $iconvPath
cd $workDir
wget -O iconv.tar.gz https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz
tar zxvf iconv.tar.gz
mv libiconv* $iconvPath
rm iconv.tar.gz
cd $iconvPath
./configure --prefix=$PREFIX --enable-static --disable-shared --with-pic --enable-extra-encodings --disable-doc
make -j$JOBS
make install