1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Support non gnu libc arm-linux-eabi platforms

https://github.com/rubygems/rubygems/commit/fcf62799f2
This commit is contained in:
なつき 2022-08-31 10:33:04 -07:00 committed by git
parent aded6971ad
commit aa5c1a0483

View file

@ -259,7 +259,7 @@ module Gem
# version
(
(@os != "linux" && (@version.nil? || other.version.nil?)) ||
(@os == "linux" && ((@version.nil? && ["gnu", "musl"].include?(other.version)) || (@version == "gnu" && other.version.nil?))) ||
(@os == "linux" && (other.version == "gnu#{@version}" || other.version == "musl#{@version}" || @version == "gnu#{other.version}")) ||
@version == other.version
)
end