From 36f728908249f3ce2a9124086f859e363296c6a6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 16 Feb 2009 17:36:53 -0800 Subject: [PATCH] fix for ruby 1.8.4 --- bindings/ruby/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index 9a3bb4ac..ea2aec65 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -66,7 +66,7 @@ system('perl -Mlib=.. -MSigarWrapper -e generate Ruby .') $distcleanfiles = ['rbsigar_generated.rx'] #XXX seems mkmf forces basename on srcs #XXX should be linking against libsigar anyhow -Dir["../../src/*.c","#{osdir}/*.c"].each do |file| +(Dir["../../src/*.c"] + Dir["#{osdir}/*.c"]).each do |file| cf = File.basename(file) print file + ' -> ' + cf + "\n" if is_win32