@PoP: Switched to a
shared lib.
In any case, it's smaller, so, eh, I'll consider that a win-win

.
(You'll need some rpath shenanigans when compiling, or some LD_LIBRARY_PATH shenanigans when running, to properly pickup the libs at runtime

).
EDIT: And on the off-chance a recent build of TCC helps, here goes.