fix for ruby 1.8.4

This commit is contained in:
Doug MacEachern 2009-02-16 17:36:53 -08:00
parent f81f9a52ab
commit 36f7289082
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ system('perl -Mlib=.. -MSigarWrapper -e generate Ruby .')
$distcleanfiles = ['rbsigar_generated.rx'] $distcleanfiles = ['rbsigar_generated.rx']
#XXX seems mkmf forces basename on srcs #XXX seems mkmf forces basename on srcs
#XXX should be linking against libsigar anyhow #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) cf = File.basename(file)
print file + ' -> ' + cf + "\n" print file + ' -> ' + cf + "\n"
if is_win32 if is_win32