зеркало из https://github.com/github/ruby.git
Guard makefile target at cross-build
http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-aarch64/log/20240325T041917Z.fail.html.gz
This commit is contained in:
Родитель
675dcf9153
Коммит
bd85fd6db9
|
@ -558,7 +558,7 @@ module RbInstall
|
||||||
makefile = File.read(makefile_path)
|
makefile = File.read(makefile_path)
|
||||||
|
|
||||||
name = makefile[/^TARGET[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
name = makefile[/^TARGET[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
||||||
return [] if name.empty?
|
return [] if name.nil? || name.empty?
|
||||||
|
|
||||||
feature = makefile[/^DLLIB[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
feature = makefile[/^DLLIB[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
||||||
feature = feature.sub("$(TARGET)", name)
|
feature = feature.sub("$(TARGET)", name)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче