xref: /trunk/main/curl/curl-wnt.patch (revision 51ba086b)
1--- misc/build/curl-7.72.0/winbuild/MakefileBuild.vc	2020-08-17 00:28:40.000000000 +0200
2+++ misc/build/curl-7.72.0/winbuild/MakefileBuild.vc	2022-04-23 19:57:39.594763000 +0200
3@@ -115,7 +115,7 @@
4 !IFNDEF WITH_DEVEL
5 WITH_DEVEL   = ../../deps
6 !ENDIF
7-DEVEL_INCLUDE= $(WITH_DEVEL)/include
8+DEVEL_INCLUDE= $(WITH_DEVEL)/inc/external
9 DEVEL_LIB    = $(WITH_DEVEL)/lib
10
11 !IF EXISTS("$(DEVEL_INCLUDE)")
12@@ -233,7 +233,7 @@
13 ZLIB_LIB_DIR = $(ZLIB_PATH)\lib
14 ZLIB_LFLAGS  = $(ZLIB_LFLAGS) "/LIBPATH:$(ZLIB_LIB_DIR)"
15 !ELSE
16-ZLIB_INC_DIR = $(DEVEL_INCLUDE)
17+ZLIB_INC_DIR = $(DEVEL_INCLUDE)\zlib
18 ZLIB_LIB_DIR = $(DEVEL_LIB)
19 !ENDIF
20
21@@ -568,6 +568,7 @@
22 	@if not exist "$(LIB_DIROBJ)\vtls" mkdir $(LIB_DIROBJ)\vtls
23 	@if not exist "$(LIB_DIROBJ)\vssh" mkdir $(LIB_DIROBJ)\vssh
24 	@if not exist "$(LIB_DIROBJ)\vquic" mkdir $(LIB_DIROBJ)\vquic
25+	@if not exist "$(LIB_DIROBJ)\vssh" mkdir $(LIB_DIROBJ)\vssh
26
27 $(CURL_DIROBJ):
28 	@if not exist "$(CURL_DIROBJ)" mkdir $(CURL_DIROBJ)
29@@ -590,6 +591,9 @@
30 	$(CURL_CC) $(CFLAGS) /Fo"$@"  $<
31
32 {$(LIBCURL_SRC_DIR)\vquic\}.c{$(LIB_DIROBJ)\vquic\}.obj:
33+	$(CURL_CC) $(CFLAGS) /Fo"$@"  $<
34+
35+{$(LIBCURL_SRC_DIR)\vssh\}.c{$(LIB_DIROBJ)\vssh\}.obj:
36 	$(CURL_CC) $(CFLAGS) /Fo"$@"  $<
37
38 $(LIB_DIROBJ)\libcurl.res: $(LIBCURL_SRC_DIR)\libcurl.rc
39