From 6535a686a56fcd5f097af61611cdd68e400b6fb8 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 10 May 2022 10:35:05 +0100 Subject: [PATCH] trivial: Reduce the size of the MSI by removing static libraries --- contrib/ci/build_windows.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/ci/build_windows.sh b/contrib/ci/build_windows.sh index 35ad7a06d..d4f80ab87 100755 --- a/contrib/ci/build_windows.sh +++ b/contrib/ci/build_windows.sh @@ -143,6 +143,9 @@ echo $CERTDIR/ca-bundle.crt | wixl-heat \ --component-group "CG.fwupd-certs" | \ tee "$build/contrib/fwupd-certs.wxs" +# no static libraries +find "$DESTDIR/" -type f -name "*.a" -print0 | xargs rm -f + # our files find "$DESTDIR" | \ wixl-heat \