Sha256: 6ec1f533268525fc58fbe5e94c1105d336ccc2998a353667b240bd9dc088e992

Contents?: true

Size: 300 Bytes

Versions: 16

Compression:

Stored size: 300 Bytes

Contents

require 'mkmf'

if RUBY_ENGINE == 'truffleruby'
  # The pure-Ruby generator is faster on TruffleRuby, so skip compiling the generator extension
  File.write('Makefile', dummy_makefile("").join)
else
  append_cflags("-std=c99")
  $defs << "-DJSON_GENERATOR"
  create_makefile 'json/ext/generator'
end

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
es_cli-0.1.0 vendor/bundle/ruby/3.1.0/gems/json-2.9.1/ext/json/ext/generator/extconf.rb
talon_one-7.0.0 .github/.example/vendor/bundle/ruby/3.3.0/gems/json-2.8.2/ext/json/ext/generator/extconf.rb
json-2.9.1 ext/json/ext/generator/extconf.rb
json-2.9.0 ext/json/ext/generator/extconf.rb
cloudsmith-api-2.0.16 vendor/bundle/ruby/2.6.0/gems/json-2.7.6/ext/json/ext/generator/extconf.rb
json-2.8.2 ext/json/ext/generator/extconf.rb
json-2.8.1 ext/json/ext/generator/extconf.rb
json-2.8.0 ext/json/ext/generator/extconf.rb
json-2.8.0.alpha1 ext/json/ext/generator/extconf.rb
json-2.7.6 ext/json/ext/generator/extconf.rb
json-2.7.5 ext/json/ext/generator/extconf.rb
json-2.7.4 ext/json/ext/generator/extconf.rb
json-2.7.4.rc2 ext/json/ext/generator/extconf.rb
json-2.7.4.rc1 ext/json/ext/generator/extconf.rb
json-2.7.3 ext/json/ext/generator/extconf.rb
json-2.7.3.rc1 ext/json/ext/generator/extconf.rb