Always run ldconfig even if we don't change ld.so.conf.

This commit is contained in:
Dustin Navea 2002-04-27 00:15:12 +00:00 committed by Alexandre Julliard
parent 71a8a74b43
commit 693d719f63
1 changed files with 12 additions and 7 deletions

View File

@ -292,13 +292,18 @@ then {
# if the user doesn't have $libdir in their ld.so.conf add this
# to our sucommand string
if [ -f /etc/ld.so.conf ] && ! grep -qs "$libdir" /etc/ld.so.conf
then {
echo
echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"
echo "when we perform the install..."
sucommand="$sucommand;echo $libdir>>/etc/ld.so.conf;$ac_cv_path_LDCONFIG"
}
if [ -f /etc/ld.so.conf ]
then
if [ ! grep -qs "$libdir" /etc/ld.so.conf ]
then {
echo
echo "$libdir doesn't exist in your /etc/ld.so.conf, it will be added"
echo "when we perform the install..."
sucommand="$sucommand;echo $libdir>>/etc/ld.so.conf"
}
fi
# run ldconfig always just in case some updated files dont get linked
sucommand="$sucommand;$ac_cv_path_LDCONFIG"
fi
echo