Trying to fix broken static protobuf compilation

Ticket here:
https://github.com/NixOS/nixpkgs/issues/108534

Does anyone have suggestions for something else I could try, even as a stopgap? Thanks.

The underlying pkgsStatic.protobuf build is broken, it tries to link against libstdc++.so and fails.

Yeah. I can get it to build on Darwin with pkgsStatic, but not for any Linux arch.

Is there any kind of escape hatch for this?