Sha256: f250650a4d166f081f6aa872dfbb2b27f37a1f1bf97af5312e20e9e23e2a41d4
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
ruby_engine = Object.const_defined?(:RUBY_ENGINE) ? RUBY_ENGINE : 'ruby' extension = ruby_engine == 'ruby' ? 'mri' : ruby_engine require 'mkmf' $CPPFLAGS << " -DRUBY_VERSION=#{RUBY_VERSION.tr('.', '')}" if extension == 'mri' if RUBY_VERSION >= '3.0.0' $CPPFLAGS << " -Imri/3.0.0" elsif RUBY_VERSION >= '2.7.0' $CPPFLAGS << " -Imri/2.7.0" elsif RUBY_VERSION >= '2.3.0' $CPPFLAGS << " -Imri/2.3.0" elsif RUBY_VERSION >= '2.2.0' $CPPFLAGS << " -Imri/2.2.0" elsif RUBY_VERSION >= '2.1.0' $CPPFLAGS << " -Imri/2.1.0" end end create_makefile "looksee/#{extension}", extension
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
looksee-4.4.0 | ext/extconf.rb |