diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-07 18:38:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-07 18:38:43 +0200 |
commit | 73f4439ca690d8224df8f88dc71a43fafdcc89bf (patch) | |
tree | bb00da4d4e9cacd9af4cbdd8cd02e700b066eeb3 /src/GvimExt | |
parent | 54e5dbf58e16d0d757a315480c9e63ac7f8a74c7 (diff) | |
download | vim-git-73f4439ca690d8224df8f88dc71a43fafdcc89bf.tar.gz |
patch 8.0.1178: using old compiler on MS-Windowsv8.0.1178
Problem: Using old compiler on MS-Windows.
Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata)
Diffstat (limited to 'src/GvimExt')
-rw-r--r-- | src/GvimExt/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/GvimExt/Makefile b/src/GvimExt/Makefile index c681d3352..27ff953e2 100644 --- a/src/GvimExt/Makefile +++ b/src/GvimExt/Makefile @@ -51,14 +51,17 @@ olelibsdll = ole32.lib uuid.lib oleaut32.lib user32.lib gdi32.lib advapi32.lib # include CPUARG cflags = $(cflags) $(CPUARG) +SUBSYSTEM = console +!if "$(SUBSYSTEM_VER)" != "" +SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) +!endif + all: gvimext.dll gvimext.dll: gvimext.obj \ gvimext.res -# $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib -# $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib gvimext.lib comctl32.lib gvimext.exp - $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib - if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2 + $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** $(olelibsdll) shell32.lib comctl32.lib -subsystem:$(SUBSYSTEM) + if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest -outputresource:$*.dll;2 gvimext.obj: gvimext.h |