Переглянути джерело

Added libjuice dependency on nettle if using gnutls

Paul-Louis Ageneau 5 роки тому
батько
коміт
ccc05b9999
1 змінених файлів з 8 додано та 2 видалено
  1. 8 2
      Jamfile

+ 8 - 2
Jamfile

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