From cea2a15687c54b8a700f77f3deef35269abb1417 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 15 Jul 2019 20:44:57 +0200 Subject: [PATCH] patch 8.1.1696: MSVC: link command line is too long Problem: MSVC: link command line is too long. Solution: Use the @<< mechanism to pass the arguments via a file. (Christian Brabandt) --- src/Make_mvc.mak | 23 +++++++++++++++-------- src/version.c | 2 ++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 8901a7c31..e30cecc7b 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -1269,6 +1269,9 @@ all: $(MAIN_TARGET) \ tee/tee.exe \ GvimExt/gvimext.dll +# To get around the command line limit: Make use of nmake's response files to +# capture the arguments for $(link) in a file using the @<