about summary refs log tree commit diff
path: root/src/etc
diff options
context:
space:
mode:
authorVadim Chugunov <vadimcn@gmail.com>2017-03-24 15:10:52 -0700
committerVadim Chugunov <vadimcn@gmail.com>2017-03-30 16:31:46 -0700
commitad3f6e056cdae847c3784ece2ebd8b52baa130e2 (patch)
tree7d9de5cb8a89e68d63acc227fd7581dfa11f202c /src/etc
parent0f87203e2e6c79677388443fba76c3f6895f7674 (diff)
downloadrust-ad3f6e056cdae847c3784ece2ebd8b52baa130e2.tar.gz
rust-ad3f6e056cdae847c3784ece2ebd8b52baa130e2.zip
Include libpthread into mingw package.
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/make-win-dist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/make-win-dist.py b/src/etc/make-win-dist.py
index eda5f854085..394ff97d845 100644
--- a/src/etc/make-win-dist.py
+++ b/src/etc/make-win-dist.py
@@ -51,7 +51,7 @@ def make_win_dist(rust_root, plat_root, target_triple):
 
     target_tools = ["gcc.exe", "ld.exe", "ar.exe", "dlltool.exe"]
 
-    rustc_dlls = ["libstdc++-6.dll"]
+    rustc_dlls = ["libstdc++-6.dll", "libwinpthread-1.dll"]
     if target_triple.startswith("i686-"):
         rustc_dlls.append("libgcc_s_dw2-1.dll")
     else:
@@ -67,6 +67,7 @@ def make_win_dist(rust_root, plat_root, target_triple):
                     "libstdc++.a",
                     "libiconv.a",
                     "libmoldname.a",
+                    "libpthread.a",
                     # Windows import libs
                     "libadvapi32.a",
                     "libbcrypt.a",