diff options
author | Jose <jose@zeroc.com> | 2014-10-24 20:56:42 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-24 20:56:42 +0200 |
commit | aa93dabf90667a42ae99bb2c2837516fa8f2741a (patch) | |
tree | 452433d77eef34eb0d85fb7f86872b2467aa3b6d /cpp/src/Ice/DynamicLibrary.cpp | |
parent | ICE-5776 java build failure on RHEL (diff) | |
download | ice-aa93dabf90667a42ae99bb2c2837516fa8f2741a.tar.bz2 ice-aa93dabf90667a42ae99bb2c2837516fa8f2741a.tar.xz ice-aa93dabf90667a42ae99bb2c2837516fa8f2741a.zip |
C++11 build updates
Diffstat (limited to 'cpp/src/Ice/DynamicLibrary.cpp')
-rw-r--r-- | cpp/src/Ice/DynamicLibrary.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/DynamicLibrary.cpp b/cpp/src/Ice/DynamicLibrary.cpp index 702eda02254..a05ab5f8ae5 100644 --- a/cpp/src/Ice/DynamicLibrary.cpp +++ b/cpp/src/Ice/DynamicLibrary.cpp @@ -89,6 +89,9 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc if(comma == string::npos) { libName = libSpec; +# ifdef ICE_CPP11 + libName += "++11"; +# endif if(useIceVersion) { int majorVersion = (ICE_INT_VERSION / 10000); @@ -116,6 +119,9 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc return 0; } libName = libSpec.substr(0, comma); +# ifdef ICE_CPP11 + libName += "++11"; +# endif version = libSpec.substr(comma + 1); } |