Content-Length: 271076 | pFad | http://github.com/postgrespro/postgres_cluster/commit/99d5a3ffb9fe61a5a8b01a4759d93c627f018923

DB Fix use of config-specific libraries for Windows OpenSSL · postgrespro/postgres_cluster@99d5a3f · GitHub
Skip to content

Commit 99d5a3f

Browse files
committed
Fix use of config-specific libraries for Windows OpenSSL
Commit 614350a allowed for an different builds of OpenSSL libraries on Windows, but ignored the fact that the alternative builds don't have config-specific libraries. This patch fixes the Solution file to ask for the correct libraries. per offline discussions with Leonardo Cecchi and Marco Nenciarini, Backpatch to all live branches.
1 parent 3c27944 commit 99d5a3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tools/msvc/Solution.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,12 @@ sub AddProject
535535
}
536536
else
537537
{
538+
# We don't expect the config-specific library to be here,
539+
# so don't ask for it in last parameter
538540
$proj->AddLibrary(
539-
$self->{options}->{openssl} . '\lib\ssleay32.lib', 1);
541+
$self->{options}->{openssl} . '\lib\ssleay32.lib', 0);
540542
$proj->AddLibrary(
541-
$self->{options}->{openssl} . '\lib\libeay32.lib', 1);
543+
$self->{options}->{openssl} . '\lib\libeay32.lib', 0);
542544
}
543545
}
544546
if ($self->{options}->{nls})

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/99d5a3ffb9fe61a5a8b01a4759d93c627f018923

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy