mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Modified build dependency to exclude 'LEGAL' from libmruby archive.
This commit is contained in:
+1
-2
@@ -8,7 +8,7 @@ MRuby.each_target do
|
||||
|
||||
# loader all gems
|
||||
self.libmruby << objfile("#{build_dir}/mrbgems/gem_init")
|
||||
file objfile("#{build_dir}/mrbgems/gem_init") => "#{build_dir}/mrbgems/gem_init.c"
|
||||
file objfile("#{build_dir}/mrbgems/gem_init") => ["#{build_dir}/mrbgems/gem_init.c", "#{build_dir}/LEGAL"]
|
||||
file "#{build_dir}/mrbgems/gem_init.c" => [MRUBY_CONFIG] do |t|
|
||||
FileUtils.mkdir_p "#{build_dir}/mrbgems"
|
||||
open(t.name, 'w') do |f|
|
||||
@@ -42,7 +42,6 @@ MRuby.each_target do
|
||||
end
|
||||
|
||||
# legal documents
|
||||
self.libmruby << "#{build_dir}/LEGAL"
|
||||
file "#{build_dir}/LEGAL" => [MRUBY_CONFIG] do |t|
|
||||
open(t.name, 'w+') do |f|
|
||||
f.puts <<LEGAL
|
||||
|
||||
Reference in New Issue
Block a user