Search for the proper hints file in an ELF world.

This commit is contained in:
jkh 2000-03-30 08:18:19 +00:00
parent 5baa08090e
commit d849c2642e
3 changed files with 3 additions and 3 deletions

View File

@ -622,7 +622,7 @@ configXSetup(dialogMenuItem *self)
}
}
if (file_readable("/var/run/ld.so.hints"))
if (file_readable("/var/run/ld-elf.so.hints"))
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
else
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");

View File

@ -622,7 +622,7 @@ configXSetup(dialogMenuItem *self)
}
}
if (file_readable("/var/run/ld.so.hints"))
if (file_readable("/var/run/ld-elf.so.hints"))
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
else
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");

View File

@ -622,7 +622,7 @@ configXSetup(dialogMenuItem *self)
}
}
if (file_readable("/var/run/ld.so.hints"))
if (file_readable("/var/run/ld-elf.so.hints"))
vsystem("/sbin/ldconfig -m /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");
else
vsystem("/sbin/ldconfig /usr/lib /usr/X11R6/lib /usr/local/lib /usr/lib/compat");