Allow for dso load by explicit path on HP-UX.

This commit is contained in:
Andy Polyakov 2005-06-09 20:50:44 +00:00
parent 898d3ecce0
commit 428759b3d4

View File

@ -128,7 +128,8 @@ static int dl_load(DSO *dso)
DSOerr(DSO_F_DL_LOAD,DSO_R_NO_FILENAME); DSOerr(DSO_F_DL_LOAD,DSO_R_NO_FILENAME);
goto err; goto err;
} }
ptr = shl_load(filename, BIND_IMMEDIATE|DYNAMIC_PATH, 0L); ptr = shl_load(filename, BIND_IMMEDIATE |
(dso->flags&DSO_FLAG_NO_NAME_TRANSLATION?0:DYNAMIC_PATH), 0L);
if(ptr == NULL) if(ptr == NULL)
{ {
DSOerr(DSO_F_DL_LOAD,DSO_R_LOAD_FAILED); DSOerr(DSO_F_DL_LOAD,DSO_R_LOAD_FAILED);