fix build with shared openssl libs
This commit is contained in:
parent
28b6f64c4b
commit
3ae21abc53
12
Jamfile
12
Jamfile
|
@ -66,6 +66,15 @@ rule linking ( properties * )
|
||||||
{
|
{
|
||||||
result += <library>gcrypt ;
|
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)
|
if <target-os>windows in $(properties)
|
||||||
|| <target-os>cygwin in $(properties)
|
|| <target-os>cygwin in $(properties)
|
||||||
|
@ -809,9 +818,6 @@ lib torrent
|
||||||
<link>shared:<define>TORRENT_BUILDING_SHARED
|
<link>shared:<define>TORRENT_BUILDING_SHARED
|
||||||
<define>BOOST_NO_DEPRECATED
|
<define>BOOST_NO_DEPRECATED
|
||||||
<link>shared:<define>BOOST_SYSTEM_SOURCE
|
<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>src/kademlia/$(KADEMLIA_SOURCES).cpp
|
||||||
<dht>on:<source>ed25519/src/$(ED25519_SOURCES).cpp
|
<dht>on:<source>ed25519/src/$(ED25519_SOURCES).cpp
|
||||||
|
|
Loading…
Reference in New Issue