summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-24 10:05:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-24 10:05:27 +0200
commit8f61232b36e5988e3bb89ad42b821c89c57073d7 (patch)
tree157df3c83a795c456229631f7cfa1b6ca182deac
parent872acf11a851a3250f2c668af5f30dc3d48ef477 (diff)
plugin-support: free modules from address space when needed
This is groundwork for #226, even though modules still need not to load all at once and persist till program stop. This issue only affects Linux.
-rw-r--r--opentrack/plugin-support.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/plugin-support.hpp b/opentrack/plugin-support.hpp
index ec8bb3c8..c2c1b048 100644
--- a/opentrack/plugin-support.hpp
+++ b/opentrack/plugin-support.hpp
@@ -103,7 +103,7 @@ struct dylib {
# if defined(__APPLE__)
RTLD_LOCAL|RTLD_FIRST|RTLD_NOW
# else
- RTLD_NOW|RTLD_GLOBAL|RTLD_NODELETE
+ RTLD_NOW|RTLD_GLOBAL
# endif
);