Commit 90eb0a93306d49b6575be533181f97f2fd324971
1 parent
cbf03d7f
Exists in
master
and in
1 other branch
Using static versions of C libraries for windows build.
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
configure.ac
... | ... | @@ -81,8 +81,7 @@ case "$host" in |
81 | 81 | |
82 | 82 | CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" |
83 | 83 | LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" |
84 | - | |
85 | - LDFLAGS="$LDFLAGS -pthread" | |
84 | + LDFLAGS="-static-libgcc -static-libstdc++ $LDFLAGS" | |
86 | 85 | DLLEXT=".dll" |
87 | 86 | DLLPREFIX="" |
88 | 87 | ... | ... |