From 90eb0a93306d49b6575be533181f97f2fd324971 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 28 Jun 2019 13:09:20 -0300 Subject: [PATCH] Using static versions of C libraries for windows build. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index adf1fb1..5a61807 100644 --- a/configure.ac +++ b/configure.ac @@ -81,8 +81,7 @@ case "$host" in CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" - - LDFLAGS="$LDFLAGS -pthread" + LDFLAGS="-static-libgcc -static-libstdc++ $LDFLAGS" DLLEXT=".dll" DLLPREFIX="" -- libgit2 0.21.2