diff options
author | Jose <jose@zeroc.com> | 2014-10-28 20:41:54 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-28 20:41:54 +0100 |
commit | 97813d5b97886b05ff1bb8428642815d9c03391f (patch) | |
tree | 06ad6bc6f867117255d552c862081ecd9c90d95f /cpp/src | |
parent | Fixed serialization broken by ICE-5764 commit (diff) | |
download | ice-97813d5b97886b05ff1bb8428642815d9c03391f.tar.bz2 ice-97813d5b97886b05ff1bb8428642815d9c03391f.tar.xz ice-97813d5b97886b05ff1bb8428642815d9c03391f.zip |
C++11 DynamicLibrary ++11 suffix should be applied only to libstdc++
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/DynamicLibrary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/DynamicLibrary.cpp b/cpp/src/Ice/DynamicLibrary.cpp index 9a5d6dd7a9e..b18175cc24a 100644 --- a/cpp/src/Ice/DynamicLibrary.cpp +++ b/cpp/src/Ice/DynamicLibrary.cpp @@ -89,7 +89,7 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc if(comma == string::npos) { libName = libSpec; -# if defined(ICE_CPP11) && !defined(__APPLE__) +# if defined(ICE_CPP11) && defined(__GLIBCXX__) libName += "++11"; # endif if(useIceVersion) @@ -119,7 +119,7 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc return 0; } libName = libSpec.substr(0, comma); -# ifdef ICE_CPP11 +# ifdef ICE_CPP11 && defined(__GLIBCXX__) libName += "++11"; # endif version = libSpec.substr(comma + 1); |