mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 04:54:23 +00:00
* 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
8 lines
160 B
Ruby
8 lines
160 B
Ruby
# frozen_string_literal: false
|
|
require 'mkmf'
|
|
if RUBY_ENGINE == 'ruby'
|
|
create_makefile('stringio')
|
|
else
|
|
File.write('Makefile', dummy_makefile("").join)
|
|
end
|