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)
This commit is contained in:
@ -931,7 +931,8 @@ endif
|
|||||||
ifeq (yes, $(USE_STDCPLUS))
|
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
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
LINK = $(CC)
|
LINK = $(CC)
|
||||||
|
|||||||
@ -783,6 +783,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 */
|
||||||
|
/**/
|
||||||
|
861,
|
||||||
/**/
|
/**/
|
||||||
860,
|
860,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user