Commit 3c5bf780 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #970 from masuidrive/fix_building_script

Fixed #969
parents cec28739 d1359e7a
...@@ -69,9 +69,9 @@ module MRuby ...@@ -69,9 +69,9 @@ module MRuby
@out_ext = build.exts.object @out_ext = build.exts.object
if build_dir.include? "mrbgems/" if build_dir.include? "mrbgems/"
generated_file_matcher = Regexp.new("^#{build_dir}/(.*)#{Regexp.escape out_ext}$") generated_file_matcher = Regexp.new("^#{Regexp.escape build_dir}/(.*)#{Regexp.escape out_ext}$")
else else
generated_file_matcher = Regexp.new("^#{build_dir}/(?!mrbgems/.+/)(.*)#{Regexp.escape out_ext}$") generated_file_matcher = Regexp.new("^#{Regexp.escape build_dir}/(?!mrbgems/.+/)(.*)#{Regexp.escape out_ext}$")
end end
source_exts.each do |ext, compile| source_exts.each do |ext, compile|
rule generated_file_matcher => [ rule generated_file_matcher => [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment