mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Removed duplicate code
This commit is contained in:
parent
c198436f08
commit
01db5d71a8
Notes:
git
2025-12-14 02:43:33 +00:00
@ -139,14 +139,6 @@ def extract_makefile(makefile, keep = true)
|
||||
true
|
||||
end
|
||||
|
||||
def create_makefile(target, srcprefix = nil)
|
||||
if $static and target.include?("/")
|
||||
base = File.basename(target)
|
||||
$defs << "-DInit_#{base}=Init_#{target.tr('/', '_')}"
|
||||
end
|
||||
super
|
||||
end
|
||||
|
||||
def extmake(target, basedir = 'ext', maybestatic = true)
|
||||
FileUtils.mkpath target unless File.directory?(target)
|
||||
begin
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user