[ruby/psych] Remove unknown
vendor for cross-compiling tool prefix
https://github.com/ruby/psych/commit/a4ffa06646
This commit is contained in:
parent
663c297e34
commit
217cea7812
@ -41,7 +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']}",
|
"--host=#{RbConfig::CONFIG['host'].sub(/-unknown-/, '-')}",
|
||||||
*(["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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user