using toolset instead of target-os to select openssl libraries when using msvc

This commit is contained in:
Alden Torres 2018-11-29 21:16:43 -05:00 committed by Arvid Norberg
parent 98fbbbf591
commit 70110181fc
1 changed files with 2 additions and 2 deletions

View File

@ -557,9 +557,9 @@ lib ssl : ssl-deps : <target-os>windows <openssl-version>pre1.1 <name>ssleay32
<use>crypto <conditional>@openssl-lib-path : : <conditional>@openssl-include-path ;
# OpenSSL 1.1+ windows
lib crypto : ssl-deps : <target-os>windows <name>libcrypto
lib crypto : ssl-deps : <toolset>msvc <openssl-version>1.1 <name>libcrypto
<conditional>@openssl-lib-path : : <conditional>@openssl-include-path ;
lib ssl : ssl-deps : <target-os>windows <name>libssl <use>crypto
lib ssl : ssl-deps : <toolset>msvc <openssl-version>1.1 <name>libssl <use>crypto
<conditional>@openssl-lib-path : : <conditional>@openssl-include-path ;
# generic OpenSSL