changeset 1420:5ddbadd17cde

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Jun 2015 11:47:43 +0200
parents efc448de0899
children d401287210d3
files Resources/CMake/Compiler.cmake
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake	Tue Jun 23 09:50:08 2015 +0200
+++ b/Resources/CMake/Compiler.cmake	Tue Jun 23 11:47:43 2015 +0200
@@ -78,6 +78,7 @@
   if (CMAKE_COMPILER_IS_GNUCXX)
     # This is a patch for MinGW64
     SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--allow-multiple-definition -static-libgcc -static-libstdc++")
+    SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--allow-multiple-definition -static-libgcc -static-libstdc++")
 
     CHECK_LIBRARY_EXISTS(winpthread pthread_create "" HAVE_WIN_PTHREAD)
     if (HAVE_WIN_PTHREAD)