Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit c193e0b98e9d64c66668801a9bc55a0cac297ab7 1 parent 5936422
@DanielGibson DanielGibson authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  neo/CMakeLists.txt
View
2  neo/CMakeLists.txt
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.