diff options
Diffstat (limited to 'src/basic/dlfcn-util.c')
-rw-r--r-- | src/basic/dlfcn-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/dlfcn-util.c b/src/basic/dlfcn-util.c index 8022f55294..2ebb1463c2 100644 --- a/src/basic/dlfcn-util.c +++ b/src/basic/dlfcn-util.c @@ -44,7 +44,7 @@ int dlopen_many_sym_or_warn_sentinel(void **dlp, const char *filename, int log_l if (*dlp) return 0; /* Already loaded */ - dl = dlopen(filename, RTLD_LAZY); + dl = dlopen(filename, RTLD_NOW|RTLD_NODELETE); if (!dl) return log_debug_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "%s is not installed: %s", filename, dlerror()); |