瀏覽代碼

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

Fix static linking flags in Jamfile
Paul-Louis Ageneau 2 年之前
父節點
當前提交
595f0ebaac
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Jamfile

+ 3 - 0
Jamfile

@@ -39,6 +39,7 @@ lib libdatachannel
 	<include>./include
 	<define>RTC_ENABLE_MEDIA=0
 	<define>RTC_ENABLE_WEBSOCKET=0
+	<define>RTC_STATIC
 	<library>/libdatachannel//plog
 	<toolset>gcc:<cxxflags>"-pthread -Wno-pedantic -Wno-unused-parameter -Wno-unused-variable"
 	<toolset>clang:<cxxflags>"-pthread -Wno-pedantic -Wno-unused-parameter -Wno-unused-variable"
@@ -76,6 +77,7 @@ alias juice
     : # no default build
     : # usage requirements
     <include>./deps/libjuice/include
+    <define>JUICE_STATIC
     <gnutls>on:<library>libjuice-gnutls.a
     <gnutls>on:<library>nettle/<link>shared
     <gnutls>off:<library>libjuice-openssl.a
@@ -87,6 +89,7 @@ alias juice
     : # no default build
     : # usage requirements
     <include>./deps/libjuice/include
+    <define>JUICE_STATIC
     <library>juice-static.lib
     ;