зеркало из https://github.com/github/ruby.git
[ruby/psych] configure of libyaml couldn't detect "arm64-apple-darwin22" for build host.
checking whether make sets $(MAKE)... (cached) yes checking build system type... arm-apple-darwin21.6.0 checking host system type... Invalid configuration `arm64-apple-darwin21': machine `arm64-apple' not recognized configure: error: /bin/sh /Users/hsbt/Downloads/yaml-0.2.5/config/config.sub arm64-apple-darwin21 failed *** extconf.rb failed *** https://github.com/ruby/psych/commit/ad1502202c
This commit is contained in:
Родитель
01e28afd0a
Коммит
dd510da89a
|
@ -22,7 +22,7 @@ if yaml_source
|
|||
args = [
|
||||
yaml_configure,
|
||||
"--enable-#{shared ? 'shared' : 'static'}",
|
||||
"--host=#{RbConfig::CONFIG['host'].sub(/-unknown-/, '-')}",
|
||||
"--host=#{RbConfig::CONFIG['host'].sub(/-unknown-/, '-').sub(/arm64/, 'arm')}",
|
||||
"CC=#{RbConfig::CONFIG['CC']}",
|
||||
*(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"),
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче