@@ -182,8 +182,8 @@ sub mkvcbuild
182182 $postgres -> AddLibrary(' wldap32.lib' ) if ($solution -> {options }-> {ldap });
183183 $postgres -> FullExportDLL(' postgres.lib' );
184184
185- # The OBJS scraper doesn't know about ifdefs, so remove be-secure-openssl.c
186- # if building without OpenSSL
185+ # The OBJS scraper doesn't know about ifdefs, so remove appropriate files
186+ # if building without OpenSSL.
187187 if (!$solution -> {options }-> {openssl })
188188 {
189189 $postgres -> RemoveFile(' src/backend/libpq/be-secure-common.c' );
@@ -242,18 +242,12 @@ sub mkvcbuild
242242 ' src/interfaces/libpq/libpq.rc' );
243243 $libpq -> AddReference($libpgport );
244244
245- # The OBJS scraper doesn't know about ifdefs, so remove fe-secure-openssl.c
246- # and sha2_openssl.c if building without OpenSSL, and remove sha2.c if
247- # building with OpenSSL.
245+ # The OBJS scraper doesn't know about ifdefs, so remove appropriate files
246+ # if building without OpenSSL.
248247 if (!$solution -> {options }-> {openssl })
249248 {
250249 $libpq -> RemoveFile(' src/interfaces/libpq/fe-secure-common.c' );
251250 $libpq -> RemoveFile(' src/interfaces/libpq/fe-secure-openssl.c' );
252- $libpq -> RemoveFile(' src/common/sha2_openssl.c' );
253- }
254- else
255- {
256- $libpq -> RemoveFile(' src/common/sha2.c' );
257251 }
258252
259253 my $libpqwalreceiver =
0 commit comments