Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vlib: add option to plugin registration to prefer deep binding
[vpp.git]
/
src
/
vlib
/
unix
/
plugin.c
diff --git
a/src/vlib/unix/plugin.c
b/src/vlib/unix/plugin.c
index
a714c7c
..
4a7ff27
100644
(file)
--- a/
src/vlib/unix/plugin.c
+++ b/
src/vlib/unix/plugin.c
@@
-304,7
+304,8
@@
process_reg:
}
vec_free (version_required);
- handle = dlopen ((char *) pi->filename, RTLD_LAZY);
+ handle = dlopen ((char *) pi->filename,
+ RTLD_LAZY | (reg->deep_bind ? RTLD_DEEPBIND : 0));
if (handle == 0)
{