diff src/GvimExt/Make_ming.mak @ 29134:cc1f2ef46aaa v8.2.5087

patch 8.2.5087: cannot build with clang on MS-Windows Commit: https://github.com/vim/vim/commit/1630bd980a1f7f62adc6f73cb20be66a3c382225 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Jun 14 12:30:25 2022 +0100 patch 8.2.5087: cannot build with clang on MS-Windows Problem: Cannot build with clang on MS-Windows. Solution: Add support for building with clang. (Yegappan Lakshmanan, closes #10557)
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jun 2022 13:45:03 +0200
parents 0660cb0a1cd8
children 360f286b5869
line wrap: on
line diff
--- a/src/GvimExt/Make_ming.mak
+++ b/src/GvimExt/Make_ming.mak
@@ -53,7 +53,9 @@ WINDRES := $(CROSS_COMPILE)windres
 WINDRES_FLAGS =
 LIBS :=  -luuid -lgdi32
 RES  := gvimext.res
+ifeq ($(findstring clang++,$(CXX)),)
 DEFFILE = gvimext_ming.def
+endif
 OBJ  := gvimext.o
 
 DLL  := gvimext.dll