Commit 90eb0a93306d49b6575be533181f97f2fd324971

Authored by Perry Werneck
1 parent cbf03d7f
Exists in master and in 1 other branch develop

Using static versions of C libraries for windows build.

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
@@ -81,8 +81,7 @@ case "$host" in @@ -81,8 +81,7 @@ case "$host" in
81 81
82 CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" 82 CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600"
83 LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" 83 LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32"
84 -  
85 - LDFLAGS="$LDFLAGS -pthread" 84 + LDFLAGS="-static-libgcc -static-libstdc++ $LDFLAGS"
86 DLLEXT=".dll" 85 DLLEXT=".dll"
87 DLLPREFIX="" 86 DLLPREFIX=""
88 87