diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-04-11 22:59:07 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-04-11 22:59:07 +0000 |
commit | d31ec121a4c21e279423675af75f54743797e9cc (patch) | |
tree | 0be3c019e1c8b3a3b67303676c00c889e8687e28 /cpp/src/Ice/DynamicLibrary.cpp | |
parent | fix (diff) | |
download | ice-d31ec121a4c21e279423675af75f54743797e9cc.tar.bz2 ice-d31ec121a4c21e279423675af75f54743797e9cc.tar.xz ice-d31ec121a4c21e279423675af75f54743797e9cc.zip |
fix for bug 225: add RTLD_GLOBAL to dlopen
Diffstat (limited to 'cpp/src/Ice/DynamicLibrary.cpp')
-rw-r--r-- | cpp/src/Ice/DynamicLibrary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/DynamicLibrary.cpp b/cpp/src/Ice/DynamicLibrary.cpp index b588202a674..45430b3b8fa 100644 --- a/cpp/src/Ice/DynamicLibrary.cpp +++ b/cpp/src/Ice/DynamicLibrary.cpp @@ -134,7 +134,7 @@ IceInternal::DynamicLibrary::load(const string& lib) _hnd = LoadLibrary(lib.c_str()); #else - int flags = RTLD_NOW; + int flags = RTLD_NOW | RTLD_GLOBAL; #ifdef _AIX flags |= RTLD_MEMBER; #endif |