An update: I was going down the rabbit hole of trying to static link the entire game. It’s proving to be about as hairy as one would expect–I’ve got Musl LibC static linked, now I’m attempting to build Mesa and LibDRM from source to avoid the libGL dynamic load.
For now, I’m going to focus on making the game, and then come back to the lean setup. I need to make sure I have something worth playing before I work on what it’s built on.
I have a “Platform SDL” that wraps all the SDL code, and I hope near the end of the jam to replace it with a “Platform Wayland Static”. If I run out of time on that I’ll still have a game which uses SDL and runs on the phone.