summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DynamicLibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/DynamicLibrary.cpp')
-rw-r--r--cpp/src/Ice/DynamicLibrary.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/DynamicLibrary.cpp b/cpp/src/Ice/DynamicLibrary.cpp
index 4fa7f1499e2..7763b37545c 100644
--- a/cpp/src/Ice/DynamicLibrary.cpp
+++ b/cpp/src/Ice/DynamicLibrary.cpp
@@ -128,6 +128,12 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc
#ifdef _WIN32
lib += libName;
+ lib += version;
+
+# if defined(_DEBUG) && !defined(__MINGW32__)
+ lib += 'd';
+# endif
+
# ifdef COMPSUFFIX
//
// If using unique dll names we need to add compiler suffix
@@ -140,12 +146,6 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc
}
# endif
- lib += version;
-
-# if defined(_DEBUG) && !defined(__MINGW32__)
- lib += 'd';
-# endif
-
lib += ".dll";
#elif defined(__APPLE__)
lib += "lib" + libName;