I have the following files in this directory:
~/test/lib/liblost.dylib
~/test/include/lost.h
I am trying to let my rubygem determine if the above library exists by doing the following in irb:
ruby-1.9.2-p290 :008 > dir_config('','~/test')
=> ["~/test/include", "~/test/lib"]
ruby-1.9.2-p290 :009 > have_library('lost')
checking for main() in -llost... no
=> false
Can someone please explain why this isn't working?