-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Georgi Georgiev wrote: > Why not pull these greps out of the loop? No need to do the *same* thing > for every library. Or did you forget to mention $libname in there?
My rationale was that over the course of a compilation, both shared and static libs may be used. In one section it might link in a shared -lfoo, while in another it does a static -lbar. And yes I certainly did forget to mention $libname. =) Attached an update to incorporate this and your other grep comments. Thanks for the review! Donnie -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC+8BvXVaO67S1rtsRArfiAJ916fUm2hN15fLd9eeecVPwmJndMwCg3R02 sAxoWHaBZPGf4zaXs86JRnY= =CkNa -----END PGP SIGNATURE-----
linking_libs.sh
Description: application/shellscript