$NetBSD: patch-aa,v 1.3 1999/12/14 07:23:21 sakamoto Exp $ --- extconf.rb.orig Sat Oct 9 18:22:29 1999 +++ extconf.rb Tue Dec 14 15:00:11 1999 @@ -29,5 +29,5 @@ config_libs, config_cflags = "--libs", "--cflags" end - $LDFLAGS, *libs = `#{config_cmd} #{config_libs}`.chomp.split(/(-l.*)/) + $LDFLAGS, *libs = `#{config_cmd} #{config_libs}`.chomp.gsub("-Wl,", "").split(/(-l.*)/) $libs = libs.join(' ') + ' ' + $libs $CFLAGS = `#{config_cmd} #{config_cflags}`.chomp