Permalink
Browse files

Win32: Statically link libgcc and libstdc++

Else one needs to copy those files from mingw32.. and I see no reason
not to statically link them.
  • Loading branch information...
1 parent 5936422 commit c193e0b98e9d64c66668801a9bc55a0cac297ab7 @DanielGibson DanielGibson committed Sep 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 neo/CMakeLists.txt
View
@@ -196,6 +196,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang")
endif()
set(sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework IOKit")
+ elseif(WIN32)
+ set(ldflags "${ldflags} -static-libgcc -static-libstdc++")
else()
if(os STREQUAL "linux")
set(sys_libs ${sys_libs} dl)

0 comments on commit c193e0b

Please sign in to comment.