March 18, 2026
9:57 p.m.
That makes sense. In that case, it would be even more consistent to keep APK generation separate from the default all target, so the build can be completed first, then optionally staged (prefix prepared, files adjusted), and only then packaged by the external script.
The only reason for building the APK in the makefile is to make sure that the code builds, in particular the Java side. That's why it has to be part of the main target. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10354#note_132690