зеркало из https://github.com/github/ruby.git
[ruby/stringio] Do not compile the C extension on TruffleRuby
* Before this it was compiled but not used, because TruffleRuby has a stringio.rb in stdlib and .rb has precedence over .so. In fact that extension never worked on TruffleRuby, because rb_io_extract_modeenc() has never been defined on TruffleRuby. * So this just skip compiling the extension since compilation of it now fails: https://github.com/ruby/openssl/issues/699 https://github.com/ruby/stringio/commit/d791b63df6
This commit is contained in:
Родитель
a07d84b63c
Коммит
1c3088117a
|
@ -1,3 +1,7 @@
|
|||
# frozen_string_literal: false
|
||||
require 'mkmf'
|
||||
create_makefile('stringio')
|
||||
if RUBY_ENGINE == 'ruby'
|
||||
create_makefile('stringio')
|
||||
else
|
||||
File.write('Makefile', dummy_makefile("").join)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче