blob: 6a37de45a108c900a2ad2334ae77cc45e4a824a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
$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
|