Cannot link compiled static C-libraries

Yeah I just tested that and unfortunately the bug Failing to link external library - #5 by vit is still present. You have to write .a.a instead of .a as a workaround because it strips one .a. I just tested that in a minimal project and it does work fine.

Alternatively, prefixing the produced .a files with lib also solves your problem and your original platformio.ini can be used.