diff options
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 |