diff -Naur sary-ruby-1.2.0.orig/extconf.rb sary-ruby-1.2.0/extconf.rb --- sary-ruby-1.2.0.orig/extconf.rb 2005-03-30 07:48:09.000000000 +0900 +++ sary-ruby-1.2.0/extconf.rb 2008-09-23 09:16:23.000000000 +0900 @@ -5,8 +5,8 @@ # use_sary_config = enable_config('sary-config') # if use_sary_config || use_sary_config == nil -# $CFLAGS += ' ' + `#{sary_config} --cflags`.chomp -# $LDFLAGS += ' ' + `#{sary_config} --libs`.chomp +# $CFLAGS += ' ' + `#{sary_config} --cflags`.chomp +# $LIBS += ' ' + `#{sary_config} --libs`.chomp # end pkg_config = 'pkg-config' @@ -15,8 +15,8 @@ ENV['PKG_CONFIG_PATH'] = '/usr/local/lib/pkgconfig/' end -$CFLAGS += ' ' + `#{pkg_config} sary --cflags`.chomp -$LDFLAGS += ' ' + `#{pkg_config} sary --libs`.chomp +$CFLAGS += ' ' + `#{pkg_config} sary --cflags`.chomp +$LIBS += ' ' + `#{pkg_config} sary --libs`.chomp if have_header('sary.h') && have_library('sary')