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:
Brian Anderson 2014-12-29 16:47:21 -08:00
parent 022d48566b
commit 7628806997
2 changed files with 33 additions and 8 deletions

View file

@ -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])