forked from premiere/premiere-libtorrent
need to link against advapi32 when using ed25519, since it needs entropy
This commit is contained in:
parent
e67d92bb58
commit
1e9d7e9f89
14
Jamfile
14
Jamfile
|
@ -36,12 +36,6 @@ rule linking ( properties * )
|
|||
{
|
||||
# exclude gcc from a regular windows build to make mingw
|
||||
# link against the regular unix library name
|
||||
|
||||
if <target-os>windows in $(properties)
|
||||
{
|
||||
result += <library>gdi32 ;
|
||||
}
|
||||
|
||||
if <target-os>windows in $(properties)
|
||||
{
|
||||
result += <library>ssleay32
|
||||
|
@ -49,6 +43,7 @@ rule linking ( properties * )
|
|||
<library>advapi32
|
||||
<library>user32
|
||||
<library>shell32
|
||||
<library>gdi32
|
||||
;
|
||||
}
|
||||
else
|
||||
|
@ -102,6 +97,13 @@ rule linking ( properties * )
|
|||
<define>WIN32
|
||||
<define>_WIN32
|
||||
;
|
||||
|
||||
# when DHT is enabled, we need ed25519 which in turn
|
||||
# needs entropy
|
||||
if ! <dht>off in $(properties)
|
||||
{
|
||||
result += <library>advapi32 ;
|
||||
}
|
||||
}
|
||||
|
||||
if <target-os>beos in $(properties)
|
||||
|
|
Loading…
Reference in New Issue