lfs-scripts/scripts/chapter8/8.35-libtool.sh
2023-01-12 11:04:34 +05:30

28 lines
262 B
Bash

#!/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