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 | |
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')
-rw-r--r-- | cpp/CHANGES | 2 | ||||
-rw-r--r-- | cpp/src/Ice/DynamicLibrary.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cpp/CHANGES b/cpp/CHANGES index 57435169b6e..cbfd681dad9 100644 --- a/cpp/CHANGES +++ b/cpp/CHANGES @@ -1,6 +1,8 @@ Changes since version 2.1.0 --------------------------- +- Added RTLD_GLOBAL when calling dlopen on Unix platforms. + - Fixed a bug that could cause an assert if connections could not be established in thread-per-connection mode. 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 |