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:
@@ -872,7 +872,8 @@ load_dependencies(image_t *image)
|
|||||||
switch (d[i].d_tag) {
|
switch (d[i].d_tag) {
|
||||||
case DT_NEEDED:
|
case DT_NEEDED:
|
||||||
needed_offset = d[i].d_un.d_ptr;
|
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);
|
image->needed[j] = load_container(path, STRING(image, needed_offset), B_LIBRARY_IMAGE);
|
||||||
j += 1;
|
j += 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user