Include libpthread into mingw package.
This commit is contained in:
parent
0f87203e2e
commit
ad3f6e056c
@ -51,7 +51,7 @@ def make_win_dist(rust_root, plat_root, target_triple):
|
|||||||
|
|
||||||
target_tools = ["gcc.exe", "ld.exe", "ar.exe", "dlltool.exe"]
|
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-"):
|
if target_triple.startswith("i686-"):
|
||||||
rustc_dlls.append("libgcc_s_dw2-1.dll")
|
rustc_dlls.append("libgcc_s_dw2-1.dll")
|
||||||
else:
|
else:
|
||||||
@ -67,6 +67,7 @@ def make_win_dist(rust_root, plat_root, target_triple):
|
|||||||
"libstdc++.a",
|
"libstdc++.a",
|
||||||
"libiconv.a",
|
"libiconv.a",
|
||||||
"libmoldname.a",
|
"libmoldname.a",
|
||||||
|
"libpthread.a",
|
||||||
# Windows import libs
|
# Windows import libs
|
||||||
"libadvapi32.a",
|
"libadvapi32.a",
|
||||||
"libbcrypt.a",
|
"libbcrypt.a",
|
||||||
|
Loading…
Reference in New Issue
Block a user