From 6dd72cfc8ed9fa17304d8461476e9e908ab55d98 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 28 Feb 2025 13:01:01 +0100 Subject: [PATCH] winbuild: use $(strip) to trim off spaces strip: https://learn.microsoft.com/en-us/cpp/build/reference/nmake-function-strip?view=msvc-170 Trim off spaces when getting the list of objects in an attempt to avoid reaching "too long line". Ref: #16508 --- winbuild/Makefile.vc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/winbuild/Makefile.vc b/winbuild/Makefile.vc index d404279dd3..d036f8fc71 100644 --- a/winbuild/Makefile.vc +++ b/winbuild/Makefile.vc @@ -1,4 +1,4 @@ -#*************************************************************************** +<#*************************************************************************** # _ _ ____ _ # Project ___| | | | _ \| | # / __| | | | |_) | | @@ -58,11 +58,10 @@ CFGSET=true !ENDIF !INCLUDE "../lib/Makefile.inc" -LIBCURL_OBJS=$(CSOURCES:.c=.obj) +LIBCURL_OBJS=$(strip $(CSOURCES:.c=.obj)) !INCLUDE "../src/Makefile.inc" -CURL_OBJS=$(CURL_CFILES:.c=.obj) - +CURL_OBJS=$(strip $(CURL_CFILES:.c=.obj)) # backwards compatible check for USE_SSPI !IFDEF USE_SSPI