зеркало из https://github.com/github/ruby.git
[ruby/psych] Propagate the host configuration to libyaml
https://github.com/ruby/psych/commit/0e37e19707
This commit is contained in:
Родитель
dde164e968
Коммит
75efbb98af
|
@ -41,6 +41,7 @@ if yaml_source
|
||||||
Dir.mkdir(yaml) unless File.directory?(yaml)
|
Dir.mkdir(yaml) unless File.directory?(yaml)
|
||||||
unless system(yaml_configure, "-q",
|
unless system(yaml_configure, "-q",
|
||||||
"--enable-#{$enable_shared || !$static ? 'shared' : 'static'}",
|
"--enable-#{$enable_shared || !$static ? 'shared' : 'static'}",
|
||||||
|
"--host=#{RbConfig::CONFIG['host']}",
|
||||||
*(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"),
|
*(["CFLAGS=-w"] if RbConfig::CONFIG["GCC"] == "yes"),
|
||||||
chdir: yaml)
|
chdir: yaml)
|
||||||
raise "failed to configure libyaml"
|
raise "failed to configure libyaml"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче