-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Georgi Georgiev wrote:
|   As you can see, it's the "static" in the end of the line. Maybe you
|   should grep for "-static" instead.

| - To avoid eventual problems with similarly named libraries (libpam and
|   libpam_misc for example; grepping for -lpam would also match
|   -lpam_misc) you could grep for "\<-l${libname}\>" instead. This would
|   also solve the space-or-tab problem.

Try this one. It should address both issues.

Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC/CBJXVaO67S1rtsRAnsWAJ9q+x9c33TBxnpPSTqNtZvJPlEYSgCghQ+e
zEOZ5LyxT0TtvkRAkLOHAGM=
=N8Ha
-----END PGP SIGNATURE-----

Attachment: linking_libs.sh
Description: application/shellscript

Reply via email to