diff options
Diffstat (limited to 'dlfcn/dlclose.c')
-rw-r--r-- | dlfcn/dlclose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlclose.c b/dlfcn/dlclose.c index da66e20..223887d 100644 --- a/dlfcn/dlclose.c +++ b/dlfcn/dlclose.c @@ -39,7 +39,7 @@ int __dlclose (void *handle) { # ifdef SHARED - if (__glibc_unlikely (_dlfcn_hook != NULL)) + if (!rtld_active ()) return _dlfcn_hook->dlclose (handle); # endif |