fix for ruby 1.8.4

This commit is contained in:
Doug MacEachern committed 2009-02-16 17:36:53 -08:00
1 parent f81f9a52ab
commit 36f7289082
1 file changed
+1 -1
+1 -1
View File
@@ -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