mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 8.1.0962: building with MinGW and static libs doesn't work
Problem: Building with MinGW and static libs doesn't work. (Salman Halim) Solution: Add -lgcc. (Ken Takata)
This commit is contained in:
parent
9166838420
commit
d91e5dafd5
@ -932,7 +932,7 @@ ifeq (yes, $(USE_STDCPLUS))
|
|||||||
LINK = $(CXX)
|
LINK = $(CXX)
|
||||||
ifeq (yes, $(STATIC_STDCPLUS))
|
ifeq (yes, $(STATIC_STDCPLUS))
|
||||||
#LIB += -static-libstdc++ -static-libgcc
|
#LIB += -static-libstdc++ -static-libgcc
|
||||||
LIB += -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
|
LIB += -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
LINK = $(CC)
|
LINK = $(CC)
|
||||||
|
@ -779,6 +779,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
962,
|
||||||
/**/
|
/**/
|
||||||
961,
|
961,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user