mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Install modular GC libraries
This commit is contained in:
parent
e1ff13b146
commit
fca85845ab
Notes:
git
2024-12-22 13:42:56 +00:00
1 changed files with 9 additions and 0 deletions
|
@ -1187,6 +1187,15 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
|
|||
end
|
||||
end
|
||||
|
||||
install?('modular-gc') do
|
||||
if modular_gc_dir = CONFIG['modular_gc_dir'] and !modular_gc_dir.empty?
|
||||
dlext = CONFIG['DLEXT', true]
|
||||
modular_gc_dir = File.expand_path(modular_gc_dir, CONFIG['prefix'])
|
||||
prepare "modular GC library", modular_gc_dir
|
||||
install Dir.glob("gc/*/librubygc.*.#{dlext}"), modular_gc_dir
|
||||
end
|
||||
end
|
||||
|
||||
parse_args()
|
||||
|
||||
include FileUtils
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue