mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -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)
|
||||
ifeq (yes, $(STATIC_STDCPLUS))
|
||||
#LIB += -static-libstdc++ -static-libgcc
|
||||
LIB += -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic
|
||||
LIB += -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic
|
||||
endif
|
||||
else
|
||||
LINK = $(CC)
|
||||
|
@ -779,6 +779,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
962,
|
||||
/**/
|
||||
961,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user