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:
Axel Dörfler 2004-06-08 21:08:08 +00:00
parent d26f311066
commit 5fce212779

View File

@ -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;