提交 79e1dd65 编写于 作者: A Andy Polyakov

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

上级 13e39360
...@@ -130,7 +130,8 @@ static int dl_load(DSO *dso) ...@@ -130,7 +130,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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册