Strip more PE binaries
| Task Info (Flyspray) | |
|--------------------------|---------------------------------------------------------------------------------|
| <small>Opened By</small> | <small>[Emil (xexaxo)](https://bugs.archlinux.org/user/10855)</small> |
| <small>Task ID</small> | <small>[78851](https://bugs.archlinux.org/task/78851)</small> |
| <small>Type</small> | <small>Bug Report</small> |
| <small>Project</small> | <small>Community Packages</small> |
| <small>Category</small> | <small>Packages: Multilib</small> |
| <small>Version</small> | <small>None</small> |
| <small>OS</small> | <small>All</small> |
| <small>Opened</small> | <small>2023-06-21 13:00:58 UTC</small> |
| <small>Status</small> | <small>Assigned</small> |
| <small>Assignee</small> | <small>[Felix Yan (felixonmars)](https://bugs.archlinux.org/user/11602)</small> |
### Details
Description:
With earlier task https://bugs.archlinux.org/task/68007 we started stripping the DLLs shipped with Wine.
At the same time all other files - drv, sys, cpl, exe and even the static libraries - were left as-is.
As the https://wiki.archlinux.org/index.php/MinGW_package_guidelines suggest, we should be stripping at least the static libraries. Although in practise, we should probably do everything in `/usr/lib*/wine/*windows/`
* package version(s)
wine 8.10-1
Steps to reproduce:
- file /usr/lib/wine/x86_64-windows/* | grep -v stripped | wc -l -> 381
- change the PKGBUILD to strip everything, rebuild and install
- aka `sed s/\.dll// PKGBUILD`
- file /usr/lib/wine/x86_64-windows/* | grep -v stripped | wc -l -> 0
- wine and windows apps work as usual
- bonus: wine package is ~15% smaller
issue