fix build with shared openssl libs

This commit is contained in:
Steven Siloti 2018-07-09 20:27:45 -07:00 committed by Arvid Norberg
parent 28b6f64c4b
commit 3ae21abc53
1 changed files with 9 additions and 3 deletions

12
Jamfile
View File

@ -66,6 +66,15 @@ rule linking ( properties * )
{
result += <library>gcrypt ;
}
else if <crypto>openssl in $(properties)
{
result += <library>ssl ;
result += <library>crypto ;
}
else if <crypto>libcrypto in $(properties)
{
result += <library>crypto ;
}
if <target-os>windows in $(properties)
|| <target-os>cygwin in $(properties)
@ -809,9 +818,6 @@ lib torrent
<link>shared:<define>TORRENT_BUILDING_SHARED
<define>BOOST_NO_DEPRECATED
<link>shared:<define>BOOST_SYSTEM_SOURCE
<crypto>openssl:<library>ssl
<crypto>openssl:<library>crypto
<crypto>libcrypto:<library>crypto
<dht>on:<source>src/kademlia/$(KADEMLIA_SOURCES).cpp
<dht>on:<source>ed25519/src/$(ED25519_SOURCES).cpp