summaryrefslogtreecommitdiff
path: root/tools/rtc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rtc.py')
-rw-r--r--tools/rtc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/rtc.py b/tools/rtc.py
index 6882bb4..b4d9173 100644
--- a/tools/rtc.py
+++ b/tools/rtc.py
@@ -37,6 +37,8 @@ def build_library(env, ssl):
# Configure env.
if env["platform"] == "windows":
env.PrependUnique(LIBS=["iphlpapi", "bcrypt"])
+ if env["platform"] == "linux":
+ env.PrependUnique(LIBS=["pthread"])
env.Prepend(LIBS=list(filter(lambda f: str(f).endswith(lib_ext), rtc)))
env.Append(CPPPATH=["#thirdparty/libdatachannel/include"])