summaryrefslogtreecommitdiffhomepage
path: root/opentrack/plugin-support.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-24 10:07:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-24 10:07:46 +0200
commit0d9427dd929ca51d65a1ab08b26710647769793c (patch)
treec4bf55b692da3e2c52d1ed42906b98072f9f5b63 /opentrack/plugin-support.hpp
parent8f61232b36e5988e3bb89ad42b821c89c57073d7 (diff)
plugin-support: set more sane RTLD flags
We might need RTLD_DEEPBIND if there are symbol-related crashes.
Diffstat (limited to 'opentrack/plugin-support.hpp')
-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 c2c1b048..a9008840 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_LOCAL|RTLD_NOW|RTLD_NOW // XXX RTLD_DEEPBIND on Linux?
# endif
);