extmk.rb: removed compiled? method [ci skip]

* ext/extmk.rb (compiled?): removed.

* ext/win32/extconf.rb: try to install libraries regardless
  fiddle.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-11-18 04:34:26 +00:00
Родитель 53ca8de37f
Коммит 5bb84ec7d8
2 изменённых файлов: 1 добавлений и 8 удалений

Просмотреть файл

@ -26,7 +26,6 @@ alias $PROGRAM_NAME $0
alias $0 $progname
$extlist = []
$compiled = {}
DUMMY_SIGNATURE = "***DUMMY MAKEFILE***"
@ -167,7 +166,6 @@ def extmake(target, basedir = (maybestatic = 'ext'))
$objs = []
$srcs = []
$extso = []
$compiled[target] = false
makefile = "./Makefile"
static = $static
$static = nil if noinstall = File.fnmatch?("-*", target)
@ -277,7 +275,6 @@ def extmake(target, basedir = (maybestatic = 'ext'))
unless $configure_only or system($make, *args)
$ignore or $continue or return false
end
$compiled[target] = true
if $clean
FileUtils.rm_f("mkmf.log")
if $clean != true
@ -325,10 +322,6 @@ def extmake(target, basedir = (maybestatic = 'ext'))
true
end
def compiled?(target)
$compiled[target]
end
def parse_args()
$mflags = []
$makeflags = [] # for make command to build ruby, so quoted

Просмотреть файл

@ -1,4 +1,4 @@
# frozen_string_literal: false
if compiled?('fiddle') and $mswin||$mingw||$cygwin
if $mswin||$mingw||$cygwin
create_makefile('win32')
end