Always run ldconfig even if we don't change ld.so.conf.
This commit is contained in:
parent
71a8a74b43
commit
693d719f63
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue