You might even be able to use partial linking (ld -r) to ship a single .o file instead of a bunch of them.