mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix paths of gem files to be scanned for presym
When building from outside `MRUBY_ROOT` (e.g. `rake -f`), gem files were not scanned.
This commit is contained in:
@@ -99,9 +99,9 @@ MRuby.each_target do |target|
|
||||
end
|
||||
|
||||
if gem.cdump?
|
||||
cfiles += Dir.glob(relative_from_root+"/{src,core}/*.c")
|
||||
rbfiles += Dir.glob(relative_from_root+"/mrblib/**/*.rb")
|
||||
psfiles += Dir.glob(relative_from_root+"/**/presym")
|
||||
cfiles += Dir.glob(gem.dir+"/{src,core}/*.c")
|
||||
rbfiles += Dir.glob(gem.dir+"/mrblib/**/*.rb")
|
||||
psfiles += Dir.glob(gem.dir+"/**/presym")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user