winbuild/MakefileBuild.vc: handle spaces in libssh(2) include paths

Patched-by: Mark Itzcovitz
Bug: https://curl.se/mail/lib-2022-09/0038.html

Closes #9536
This commit is contained in:
Daniel Stenberg 2022-09-19 12:43:41 +02:00
parent e9a85c4623
commit 8bc6a38cef
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -306,7 +306,7 @@ SSH2 = static
!IFDEF USE_SSH2
SSH2_CFLAGS = /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /DUSE_LIBSSH2
SSH2_CFLAGS = $(SSH2_CFLAGS) /I$(SSH2_INC_DIR)
SSH2_CFLAGS = $(SSH2_CFLAGS) /I"$(SSH2_INC_DIR)"
!ENDIF
@ -327,7 +327,7 @@ SSH = $(WITH_SSH)
!IFDEF USE_SSH
SSH_CFLAGS = /DHAVE_LIBSSH /DHAVE_LIBSSH_LIBSSH_H /DLIBSSH_WIN32 /DLIBSSH_LIBRARY /DUSE_LIBSSH /DCURL_USE_LIBSSH
SSH_CFLAGS = $(SSH_CFLAGS) /I$(SSH_INC_DIR)
SSH_CFLAGS = $(SSH_CFLAGS) /I"$(SSH_INC_DIR)"
!ENDIF