Added libjuice dependency on nettle if using gnutls

This commit is contained in:
Paul-Louis Ageneau
2020-06-23 16:02:03 +02:00
parent fb2f480f92
commit ccc05b9999

10
Jamfile
View File

@ -25,8 +25,9 @@ lib libdatachannel
<library>/libdatachannel//usrsctp <library>/libdatachannel//usrsctp
<library>/libdatachannel//juice <library>/libdatachannel//juice
<library>/libdatachannel//plog <library>/libdatachannel//plog
<gnutls>off:<library>ssl <gnutls>on:<library>gnutls
<gnutls>off:<library>crypto <gnutls>off:<library>ssl
<gnutls>off:<library>crypto
: # default build : # default build
<link>static <link>static
: # usage requirements : # usage requirements
@ -69,6 +70,7 @@ alias juice
: # usage requirements : # usage requirements
<include>./deps/libjuice/include <include>./deps/libjuice/include
<library>libjuice-static.a <library>libjuice-static.a
<gnutls>on:<library>nettle
; ;
alias juice alias juice
@ -228,3 +230,7 @@ lib crypto : : <name>crypto <use>z <conditional>@openssl-lib-path : :
lib ssl : : <name>ssl <use>crypto <conditional>@openssl-lib-path : : lib ssl : : <name>ssl <use>crypto <conditional>@openssl-lib-path : :
<conditional>@openssl-include-path ; <conditional>@openssl-include-path ;
# GnuTLS
lib gnutls : : <link>shared <name>gnutls ;
lib nettle : : <link>shared <name>nettle ;