diff Resources/CMake/Compiler.cmake @ 1420:5ddbadd17cde

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 23 Jun 2015 11:47:43 +0200
parents 037d5ffca74d
children 307b9ea6c39b
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)