pkg-config can be used in your extconf.rb to properly detect neeed
libraries for compiling Ruby native extensions, using the pkg-config
database. Note that this package does not use pkg-config, only it's
database.
--
Antonio Terceiro <terceiro@softwarelivre.org>
http://softwarelivre.org/terceiro