Hello.

I am writing Ruby bindings for a C library that I wrote myself. I have
a problem when running extconf.

My library uses glib so I added glib also.

----
erwan@bourricot Galois $ cat extconf.rb
require 'mkmf'

dir_config('libGalois')
dir_config('glib')

have_library('glib')
have_library('libGalois')

create_makefile('GaloisNode')
----

Then I launch extconf.rb:

----
erwan@bourricot Galois $ ruby extconf.rb
--with-libGalois-dir=/usr/local/
checking for main() in -lglib... yes
checking for main() in -llibGalois... no
creating Makefile
----

The problem is in the generated Makefile, "-lglib" is added but not
"-llibGalois". I guess the "checking for main() in -llibGalois... no"
is the error message related to the problem but I can't figure what it
means. A library is not supposed to have main() loop, right?