mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
Fix use of config-specific libraries for Windows OpenSSL
Commit 614350a3 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.
This commit is contained in:
parent
d8d5354bba
commit
d329d2d3e4
@ -506,10 +506,12 @@ sub AddProject
|
||||
}
|
||||
else
|
||||
{
|
||||
# We don't expect the config-specific library to be here,
|
||||
# so don't ask for it in last parameter
|
||||
$proj->AddLibrary(
|
||||
$self->{options}->{openssl} . '\lib\ssleay32.lib', 1);
|
||||
$self->{options}->{openssl} . '\lib\ssleay32.lib', 0);
|
||||
$proj->AddLibrary(
|
||||
$self->{options}->{openssl} . '\lib\libeay32.lib', 1);
|
||||
$self->{options}->{openssl} . '\lib\libeay32.lib', 0);
|
||||
}
|
||||
}
|
||||
if ($self->{options}->{nls})
|
||||
|
Loading…
x
Reference in New Issue
Block a user