brianmario/mysql2 — pull request #290 by lkosewsk (2012-08-20 22:11:10+00:00)
Title: Fix compilation of native extensions against libmysqlclient in mysql 5.5+

In new MySQL releases we don't have _r versions of libraries to link against (the re-entrant code was merged into the standard versions).

Change the lookup procedure to always use --libs output of mysql_config in this circumstance.