summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
6120bbb)
Adding this flag will avoid potential conflict
with previously loaded bindings.
Change-Id: Iae42a68fa4750d107895dc01045aac7b885759f7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
// This is a loadable library let's check if it's a binding
rc = -!!force;
// This is a loadable library let's check if it's a binding
rc = -!!force;
- handle = safe_dlopen(path, RTLD_NOW | RTLD_LOCAL);
+ handle = safe_dlopen(path, RTLD_NOW | RTLD_LOCAL | RTLD_DEEPBIND);
if (handle == NULL) {
if (force)
ERROR("binding [%s] not loadable: %s", path, dlerror());
if (handle == NULL) {
if (force)
ERROR("binding [%s] not loadable: %s", path, dlerror());