Skip to content

Commit

Permalink
Include libpthread into mingw package.
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimcn committed Mar 30, 2017
1 parent 0f87203 commit ad3f6e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/etc/make-win-dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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",
Expand Down

0 comments on commit ad3f6e0

Please sign in to comment.