I guess you just need to compile the .a once and then just reuse it?
If you're rebuilding it every single time, your build is set up wrong.