mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1508
Problem: Can't build GvimExt with MingW. Solution: Adjust the makefile. (Ben Fritz)
This commit is contained in:
parent
4e329fcaf7
commit
47cff3a444
@ -43,6 +43,10 @@ else
|
|||||||
DEL = del
|
DEL = del
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
# Set the default $(WINVER) to make it work with WinXP.
|
||||||
|
ifndef WINVER
|
||||||
|
WINVER = 0x0501
|
||||||
|
endif
|
||||||
CXX := $(CROSS_COMPILE)g++
|
CXX := $(CROSS_COMPILE)g++
|
||||||
WINDRES := $(CROSS_COMPILE)windres
|
WINDRES := $(CROSS_COMPILE)windres
|
||||||
WINDRES_CXX = $(CXX)
|
WINDRES_CXX = $(CXX)
|
||||||
@ -68,7 +72,7 @@ $(DLL): $(OBJ) $(RES) $(DEFFILE)
|
|||||||
$(LIBS)
|
$(LIBS)
|
||||||
|
|
||||||
gvimext.o: gvimext.cpp
|
gvimext.o: gvimext.cpp
|
||||||
$(CXX) $(CXXFLAGS) -DFEAT_GETTEXT -c $? -o $@
|
$(CXX) $(CXXFLAGS) -DFEAT_GETTEXT -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) -c $? -o $@
|
||||||
|
|
||||||
$(RES): gvimext_ming.rc
|
$(RES): gvimext_ming.rc
|
||||||
$(WINDRES) $(WINDRES_FLAGS) --input-format=rc --output-format=coff -DMING $? -o $@
|
$(WINDRES) $(WINDRES_FLAGS) --input-format=rc --output-format=coff -DMING $? -o $@
|
||||||
|
@ -743,6 +743,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 */
|
||||||
|
/**/
|
||||||
|
1508,
|
||||||
/**/
|
/**/
|
||||||
1507,
|
1507,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user