Delete bundled gcc libs on windows

This prevents having mismatches between bundled libs and libs on the system
(Cargo requires MinGW to compile regardless).
This commit is contained in:
Alex Crichton 2014-12-03 22:57:06 -08:00
parent 4353abb71d
commit 5d8d6bb5e6

View File

@ -60,6 +60,8 @@ else
mv '{app}' rustc
# Don't use the bundled gcc, see rust-lang/rust#17442
rm -rf rustc/bin/rustlib/$triple/bin
# Don't use bundled gcc libs, see rust-lang/rust#19519
rm -rf rustc/bin/rustlib/$triple/libmingw*.a
rm -f rust-nightly-$triple.exe
fi