mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
Adjusted the default library path to the standard Be location - added
a note that we should evaluate the LIBRARY_PATH env variable. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7861 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d26f311066
commit
5fce212779
@ -872,7 +872,8 @@ load_dependencies(image_t *image)
|
||||
switch (d[i].d_tag) {
|
||||
case DT_NEEDED:
|
||||
needed_offset = d[i].d_un.d_ptr;
|
||||
sprintf(path, "/boot/lib/%s", STRING(image, needed_offset));
|
||||
// ToDo: ever heard of the LIBRARY_PATH env variable?
|
||||
sprintf(path, "/boot/beos/system/lib/%s", STRING(image, needed_offset));
|
||||
image->needed[j] = load_container(path, STRING(image, needed_offset), B_LIBRARY_IMAGE);
|
||||
j += 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user