Fix ordering and remove /opt/lib from default LD_LIBRARY_PATH
This commit is contained in:
parent
1d28a49dd7
commit
0f7ccdd903
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue