mk: Package mingw components in unix installer on windows
This puts stdc++ and the unwinding dll into the main package and creates a separate rust-mingw package for everything else.
This commit is contained in:
parent
022d48566b
commit
7628806997
2 changed files with 33 additions and 8 deletions
|
|
@ -114,11 +114,5 @@ def make_win_dist(rust_root, gcc_root, target_triple):
|
|||
for src in target_libs:
|
||||
shutil.copy(src, target_lib_dir)
|
||||
|
||||
# Copy license files
|
||||
lic_dir = os.path.join(rust_root, "bin", "third-party")
|
||||
if os.path.exists(lic_dir):
|
||||
shutil.rmtree(lic_dir) # copytree() won't overwrite existing files
|
||||
shutil.copytree(os.path.join(os.path.dirname(__file__), "third-party"), lic_dir)
|
||||
|
||||
if __name__=="__main__":
|
||||
make_win_dist(sys.argv[1], sys.argv[2], sys.argv[3])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue