Search for the proper hints file in an ELF world.
This commit is contained in:
parent
5baa08090e
commit
d849c2642e
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user