mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1805 from take-cheeze/existing_include
Add existing include/ directory only.
This commit is contained in:
@@ -51,7 +51,7 @@ module MRuby
|
||||
MRuby::Gem.current = self
|
||||
@build.compilers.each do |compiler|
|
||||
compiler.include_paths << "#{dir}/include"
|
||||
end
|
||||
end if Dir.exist? "#{dir}/include"
|
||||
MRuby::Build::COMMANDS.each do |command|
|
||||
instance_variable_set("@#{command}", @build.send(command).clone)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user