fix for ruby 1.8.4
This commit is contained in:
parent
f81f9a52ab
commit
36f7289082
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue