mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +00:00
(macOS) Added libiconv as a dependency library
This commit is contained in:
parent
6256f44455
commit
c70684e654
|
@ -33,6 +33,21 @@ echo "Building all dependencies in the ./external directory...\n"
|
|||
|
||||
export PKG_CONFIG_PATH=$(pwd)/../local_install/lib/pkgconfig
|
||||
|
||||
echo "Building libiconv"
|
||||
|
||||
if [ ! -d libiconv ]; then
|
||||
echo "libiconv directory is missing, aborting."
|
||||
exit
|
||||
fi
|
||||
|
||||
cd libiconv
|
||||
|
||||
./configure --enable-static=yes --enable-shared=no --prefix=$(pwd)/../local_install
|
||||
make clean
|
||||
make -j${JOBS}
|
||||
make install
|
||||
cd ..
|
||||
|
||||
echo "Building gettext"
|
||||
|
||||
if [ ! -d gettext ]; then
|
||||
|
@ -42,7 +57,7 @@ fi
|
|||
|
||||
cd gettext
|
||||
|
||||
./configure --prefix=$(pwd)/../local_install
|
||||
./configure --with-libiconv-prefix=$(pwd)/../local_install --prefix=$(pwd)/../local_install
|
||||
make clean
|
||||
make -j${JOBS}
|
||||
|
||||
|
|
|
@ -21,6 +21,19 @@ cd external
|
|||
rm -rf local_install
|
||||
mkdir local_install
|
||||
|
||||
echo "Setting up libiconv"
|
||||
rm -rf libiconv*
|
||||
curl -LO https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.17.tar.gz
|
||||
tar xvzf libiconv-1.17.tar.gz
|
||||
|
||||
if [ ! -d libiconv-1.17 ]; then
|
||||
echo "libiconv directory is missing, aborting."
|
||||
exit
|
||||
fi
|
||||
|
||||
mv libiconv-1.17 libiconv
|
||||
rm libiconv-1.17.tar.gz
|
||||
|
||||
echo "Setting up gettext"
|
||||
rm -rf gettext*
|
||||
curl -LO https://ftp.gnu.org/pub/gnu/gettext/gettext-0.22.5.tar.gz
|
||||
|
|
Loading…
Reference in a new issue