Pre-load shared objects as libraries, so their symbols will be used
automatically and a pre-loaded library will not be loaded again, when it's also a dependency. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34786 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -305,7 +305,7 @@ preload_image(char const* path)
|
||||
KTRACE("rld: preload_image(\"%s\")", path);
|
||||
|
||||
image_t *image = NULL;
|
||||
status_t status = load_image(path, B_ADD_ON_IMAGE, NULL, &image);
|
||||
status_t status = load_image(path, B_LIBRARY_IMAGE, NULL, &image);
|
||||
if (status < B_OK) {
|
||||
rld_unlock();
|
||||
KTRACE("rld: preload_image(\"%s\") failed to load container: %s", path,
|
||||
|
||||
Reference in New Issue
Block a user