Browse Source

Merge pull request #780 from paullouisageneau/fix-jamfile-static

Fix static flags in Jamfile
Paul-Louis Ageneau 2 years ago
parent
commit
6f12517500
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jamfile

+ 2 - 2
Jamfile

@@ -39,6 +39,7 @@ lib libdatachannel
 	<include>./include
 	<include>./include
 	<define>RTC_ENABLE_MEDIA=0
 	<define>RTC_ENABLE_MEDIA=0
 	<define>RTC_ENABLE_WEBSOCKET=0
 	<define>RTC_ENABLE_WEBSOCKET=0
+	<define>RTC_STATIC
 	<library>/libdatachannel//plog
 	<library>/libdatachannel//plog
 	<toolset>gcc:<cxxflags>"-pthread -Wno-pedantic -Wno-unused-parameter -Wno-unused-variable"
 	<toolset>gcc:<cxxflags>"-pthread -Wno-pedantic -Wno-unused-parameter -Wno-unused-variable"
 	<toolset>clang:<cxxflags>"-pthread -Wno-pedantic -Wno-unused-parameter -Wno-unused-variable"
 	<toolset>clang:<cxxflags>"-pthread -Wno-pedantic -Wno-unused-parameter -Wno-unused-variable"
@@ -76,8 +77,8 @@ alias juice
     : # no default build
     : # no default build
     : # usage requirements
     : # usage requirements
     <include>./deps/libjuice/include
     <include>./deps/libjuice/include
+    <define>JUICE_STATIC
     <gnutls>on:<library>libjuice-gnutls.a
     <gnutls>on:<library>libjuice-gnutls.a
-    <gnutls>on:<library>nettle/<link>shared
     <gnutls>off:<library>libjuice-openssl.a
     <gnutls>off:<library>libjuice-openssl.a
     ;
     ;
 
 
@@ -261,5 +262,4 @@ lib ssl : : <name>ssl <use>crypto <conditional>@openssl-lib-path : :
 
 
 # GnuTLS
 # GnuTLS
 lib gnutls : : <link>shared <name>gnutls ;
 lib gnutls : : <link>shared <name>gnutls ;
-lib nettle : : <link>shared <name>nettle ;