зеркало из https://github.com/github/ruby.git
rbinstall.rb: header targets
* tool/rbinstall.rb: separate header targets, comm-hdr for architecture independent headers, arch-hdr for architecture dependent headers, and hdr for both. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a4645e5612
Коммит
4d2aef1e45
|
@ -378,7 +378,7 @@ install?(:ext, :arch, :'ext-arch') do
|
|||
prepare "extension objects", sitearchlibdir
|
||||
prepare "extension objects", vendorarchlibdir
|
||||
end
|
||||
install?(:ext, :arch, :'ext-arch') do
|
||||
install?(:ext, :arch, :hdr, :'arch-hdr') do
|
||||
prepare "extension headers", archhdrdir
|
||||
install_recursive("#{$extout}/include/#{CONFIG['arch']}", archhdrdir, :glob => "*.h", :mode => $data_mode)
|
||||
end
|
||||
|
@ -388,7 +388,7 @@ install?(:ext, :comm, :'ext-comm') do
|
|||
prepare "extension scripts", sitelibdir
|
||||
prepare "extension scripts", vendorlibdir
|
||||
end
|
||||
install?(:ext, :comm, :'ext-comm') do
|
||||
install?(:ext, :comm, :hdr, :'comm-hdr') do
|
||||
hdrdir = rubyhdrdir + "/ruby"
|
||||
prepare "extension headers", hdrdir
|
||||
install_recursive("#{$extout}/include/ruby", hdrdir, :glob => "*.h", :mode => $data_mode)
|
||||
|
@ -508,7 +508,7 @@ install?(:local, :comm, :lib) do
|
|||
install_recursive(File.join(srcdir, "lib"), rubylibdir, :no_install => noinst, :mode => $data_mode)
|
||||
end
|
||||
|
||||
install?(:local, :arch, :lib) do
|
||||
install?(:local, :comm, :hdr, :'comm-hdr') do
|
||||
prepare "common headers", rubyhdrdir
|
||||
|
||||
noinst = []
|
||||
|
|
Загрузка…
Ссылка в новой задаче