Run ldconfig in the chroot environment to find shared libraries in

/usr/local/lib.
This commit is contained in:
Yoshihiro Takahashi 2004-01-11 12:45:41 +00:00
parent 50adc4cac9
commit e818ceb452
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124376

View File

@ -450,6 +450,7 @@ release rerelease:
# NB: these may fail if the host is running w/o devfs
echo "umount /dev >/dev/null 2>&1 || true" >> ${_MK}
echo "mount -t devfs devfs /dev >/dev/null 2>&1 || true" >> ${_MK}
echo "ldconfig /lib /usr/lib /usr/local/lib" >> ${_MK}
echo "if [ ! -f /tmp/.world_done ]; then" >> ${_MK}
echo " cd /usr/src" >> ${_MK}
echo " ${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${_MK}