diff options
Diffstat (limited to 'dlfcn/dlopenold.c')
-rw-r--r-- | dlfcn/dlopenold.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dlfcn/dlopenold.c b/dlfcn/dlopenold.c index d08427a..0d6cea9 100644 --- a/dlfcn/dlopenold.c +++ b/dlfcn/dlopenold.c @@ -42,7 +42,8 @@ dlopen_doit (void *a) { struct dlopen_args *args = (struct dlopen_args *) a; - args->new = _dl_open (args->file ?: "", args->mode, args->caller); + args->new = _dl_open (args->file ?: "", args->mode | __RTLD_DLOPEN, + args->caller); } void * |