From: Bram Moolenaar Date: Thu, 31 Jan 2019 13:43:19 +0000 (+0100) Subject: patch 8.1.0861: building with MinGW and static libc doesn't work X-Git-Tag: v8.1.0861 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60f807b3f71a92881e2b3bf48bd016294957130e;p=vim patch 8.1.0861: building with MinGW and static libc doesn't work Problem: Building with MinGW and static libc doesn't work. Solution: Change the LIB argument. (Ken Takata) --- diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak index 5795b5075..1e26adda5 100644 --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -931,7 +931,8 @@ endif ifeq (yes, $(USE_STDCPLUS)) LINK = $(CXX) ifeq (yes, $(STATIC_STDCPLUS)) -LIB += -static-libstdc++ -static-libgcc +#LIB += -static-libstdc++ -static-libgcc +LIB += -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic endif else LINK = $(CC) diff --git a/src/version.c b/src/version.c index 3478fd576..6470c4670 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 861, /**/ 860, /**/