#!/bin/sh
# precompile_bash

cd /usr/lib &&
ln -s libncurses.a libcurses.a

cd $LFS/usr/src
tar xfj bash*.tar.bz2
cd bash*

./configure --enable-static-link --prefix=$LFS/usr --bindir=$LFS/bin --with-curses &&
make &&
make install &&
cd $LFS/bin &&
ln -sf bash sh
