summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-01-11 12:45:41 +0000
committernyan <nyan@FreeBSD.org>2004-01-11 12:45:41 +0000
commitb486a2147daf1a9af3f363535817aa06139f452a (patch)
treece99429d9f5be832ea986da3609e36e5708bfb2c /release
parent7a00f44ce96f600f4680f92b701d4b52b683f3f6 (diff)
downloadFreeBSD-src-b486a2147daf1a9af3f363535817aa06139f452a.zip
FreeBSD-src-b486a2147daf1a9af3f363535817aa06139f452a.tar.gz
Run ldconfig in the chroot environment to find shared libraries in
/usr/local/lib.
Diffstat (limited to 'release')
-rw-r--r--release/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 59e0829..77f3291 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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}
OpenPOWER on IntegriCloud