X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.c;h=3588e16386ded9dc70dd9e6e352685841be66083;hb=cbde33f87ba335a078933dfe822e12024b29316c;hp=cfa992e844753fd87d971ef66d3626ec80e3e586;hpb=6120bbbd2cbd1f06904f887957d92ac740631c55;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so.c b/src/afb-api-so.c index cfa992e8..3588e163 100644 --- a/src/afb-api-so.c +++ b/src/afb-api-so.c @@ -65,7 +65,7 @@ static int load_binding(const char *path, int force, struct afb_apiset *apiset) // 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());