Removed duplicate code

This commit is contained in:
Nobuyoshi Nakada 2025-12-14 00:31:53 +09:00
parent c198436f08
commit 01db5d71a8
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2025-12-14 02:43:33 +00:00

View File

@ -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