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
This commit is contained in:
Daniel Stenberg 2025-02-28 13:01:01 +01:00
parent 2e585f5640
commit 6dd72cfc8e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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