Fix ordering and remove /opt/lib from default LD_LIBRARY_PATH

This commit is contained in:
K. Lange 2018-08-14 14:04:10 +09:00
parent 1d28a49dd7
commit 0f7ccdd903
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static char * find_lib(const char * file) {
char * path = getenv("LD_LIBRARY_PATH");
if (!path) {
path = "/usr/lib:/lib:/opt/lib";
path = "/lib:/usr/lib";
}
char * xpath = strdup(path);
char * p, * last;