Skip to content

Commit 5404145

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 9173695 commit 5404145

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
@@ -513,10 +513,12 @@ sub AddProject
513513
}
514514
else
515515
{
516+
# We don't expect the config-specific library to be here,
517+
# so don't ask for it in last parameter
516518
$proj->AddLibrary(
517-
$self->{options}->{openssl} . '\lib\ssleay32.lib', 1);
519+
$self->{options}->{openssl} . '\lib\ssleay32.lib', 0);
518520
$proj->AddLibrary(
519-
$self->{options}->{openssl} . '\lib\libeay32.lib', 1);
521+
$self->{options}->{openssl} . '\lib\libeay32.lib', 0);
520522
}
521523
}
522524
if ($self->{options}->{nls})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy