Merge pull request #6023 from dearblue/expose-headers

"expose_header_files" task split per build
This commit is contained in:
Yukihiro "Matz" Matsumoto
2023-06-24 15:35:31 +09:00
committed by GitHub
+3 -2
View File
@@ -7,12 +7,13 @@ MRuby.each_target do
next unless libmruby_enabled?
copy_headers_task = "expose_header_files:#{self.name}"
file libmruby_static => libmruby_objs.flatten do |t|
Rake::Task["expose_header_files"].invoke
Rake::Task[copy_headers_task].invoke
archiver.run t.name, t.prerequisites
end
task "expose_header_files" do |t|
task copy_headers_task do |t|
# Since header files may be generated dynamically and it is hard to know all of them,
# the task is executed depending on when libmruby.a is generated.