mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 10:19:26 +00:00
Prepend /lib to the builtin library search path in rtld.
This commit is contained in:
parent
0b0c94741a
commit
7b73593acd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119013
@ -807,7 +807,7 @@ elf_hash(const char *name)
|
||||
* rpath in the referencing file
|
||||
* LD_LIBRARY_PATH
|
||||
* ldconfig hints
|
||||
* /usr/lib
|
||||
* /lib:/usr/lib
|
||||
*/
|
||||
static char *
|
||||
find_library(const char *xname, const Obj_Entry *refobj)
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "rtld_machdep.h"
|
||||
|
||||
#ifndef STANDARD_LIBRARY_PATH
|
||||
#define STANDARD_LIBRARY_PATH "/usr/lib"
|
||||
#define STANDARD_LIBRARY_PATH "/lib:/usr/lib"
|
||||
#endif
|
||||
|
||||
#define NEW(type) ((type *) xmalloc(sizeof(type)))
|
||||
|
Loading…
Reference in New Issue
Block a user