From ef8925b7acfe03cb83963e3f9ec4592ae308f4ee Mon Sep 17 00:00:00 2001 From: James Rowe Date: Tue, 5 Sep 2017 18:57:47 -0600 Subject: [PATCH] Remove excess debug dlls for mingw build --- appveyor.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 1c390cdd5..ec9ca3747 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -131,6 +131,12 @@ after_build: foreach ($file in $MingwDLLs) { Copy-Item -path "C:/msys64/mingw64/bin/$file" -force -destination "$RELEASE_DIST" } + # the above list copies a few extra debug dlls that aren't needed (thanks globbing patterns!) + # so we can remove them by hardcoding another list of extra dlls to remove + $DebugDLLs = "libicudtd*.dll","libicuind*.dll","libicuucd*.dll" + foreach ($file in $DebugDLLs) { + Remove-Item -path "$RELEASE_DIST/$file" + } # copy the qt windows plugin dll to platforms Copy-Item -path "C:/msys64/mingw64/share/qt5/plugins/platforms/qwindows.dll" -force -destination "$RELEASE_DIST/platforms"