Add 8.35 - Build libtool

This commit is contained in:
Aditya 2023-01-12 11:04:34 +05:30
parent edb13908fe
commit a474501dc2
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,28 @@
#!/bin/bash
cd /sources
tar xf libtool-2.4.7.tar.xz
cd libtool-2.4.7
./configure --prefix=/usr
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
rm -fv /usr/lib/libltdl.a
cd /sources
rm -rf libtool-2.4.7

View file

@ -954,3 +954,15 @@ then
stop_script "chapter8/8.34-bash.sh"
fi
# Chapter 8.35
# ============
echo "Building libtool"
su -c "bash $SCRIPT/chapter8/8.35-libtool.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.35-libtool.sh"
fi