summaryrefslogtreecommitdiff
path: root/src/dynamic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamic.cpp')
-rw-r--r--src/dynamic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index 8731489c4..453a80127 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -29,7 +29,7 @@ DLLManager::DLLManager(const char *fname)
return;
}
- h = dlopen(fname, RTLD_NOW|RTLD_LOCAL);
+ h = dlopen(fname, RTLD_NOW|RTLD_LOCAL|RTLD_NODELETE);
if (!h)
{
err = dlerror();