need to link against advapi32 when using ed25519, since it needs entropy

This commit is contained in:
Arvid Norberg 2013-08-24 21:35:49 +00:00
parent e67d92bb58
commit 1e9d7e9f89
1 changed files with 8 additions and 6 deletions

14
Jamfile
View File

@ -36,12 +36,6 @@ rule linking ( properties * )
{ {
# exclude gcc from a regular windows build to make mingw # exclude gcc from a regular windows build to make mingw
# link against the regular unix library name # link against the regular unix library name
if <target-os>windows in $(properties)
{
result += <library>gdi32 ;
}
if <target-os>windows in $(properties) if <target-os>windows in $(properties)
{ {
result += <library>ssleay32 result += <library>ssleay32
@ -49,6 +43,7 @@ rule linking ( properties * )
<library>advapi32 <library>advapi32
<library>user32 <library>user32
<library>shell32 <library>shell32
<library>gdi32
; ;
} }
else else
@ -102,6 +97,13 @@ rule linking ( properties * )
<define>WIN32 <define>WIN32
<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) if <target-os>beos in $(properties)