diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-21 09:59:32 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-21 10:01:09 +0200 |
commit | a1ce590fb13ce34a3051f619f0d9cdbc1d2dffa5 (patch) | |
tree | 80bf0b54d50f5bd1ec6c58a5f70f28889920fd2a /opentrack | |
parent | c94914e67a6c26d68935f230b470e10fd5397246 (diff) |
standardize dlopen(3) flags used
Diffstat (limited to 'opentrack')
-rw-r--r-- | opentrack/plugin-support.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/opentrack/plugin-support.cpp b/opentrack/plugin-support.cpp index 7fc787b6..ec56b1e1 100644 --- a/opentrack/plugin-support.cpp +++ b/opentrack/plugin-support.cpp @@ -159,12 +159,10 @@ dylib::dylib(const QString& filename, Type t) : #else QByteArray latin1 = QFile::encodeName(filename); handle = dlopen(latin1.constData(), RTLD_NOW | -# ifdef __linux - RTLD_DEEPBIND|RTLD_LOCAL|RTLD_NOW -# elif defined(__APPLE__) +# if defined(__APPLE__) RTLD_LOCAL|RTLD_FIRST|RTLD_NOW # else - 0 + RTLD_NOW|RTLD_GLOBAL|RTLD_NODELETE # endif ); |