-- a/extconf.rb
++ b/extconf.rb
$CFLAGS += ' ' + `#{pkg_config} sary --cflags`.chomp
$LIBS += ' ' + `#{pkg_config} sary --libs`.chomp
if have_header('sary.h') &&
create_makefile('sary')
have_library('sary')
end
# Add make targets
mfile = File.open 'Makefile', 'a'