Sha256: f3d83bbbd9fc0a3d7169ec14f00f5b4567eb5f7ae1fdd5921246522d13399ae9
Contents?: true
Size: 847 Bytes
Versions: 132
Compression:
Stored size: 847 Bytes
Contents
require 'rbconfig' require 'shellwords' module Libv8; end module Libv8::Node module Paths module_function def include_paths [Shellwords.escape(File.join(vendored_source_path, 'include'))] end def object_paths [Shellwords.escape(File.join(vendored_source_path, platform, 'libv8', 'obj', "libv8_monolith.#{config['LIBEXT']}"))] end def platform Gem::Platform.local.tap { |p| RUBY_PLATFORM =~ /musl/ && p.version.nil? && p.instance_eval { @version = 'musl' } }.to_s.gsub(/-darwin-?\d+/, '-darwin') end def config RbConfig::MAKEFILE_CONFIG end def vendored_source_path File.expand_path('../../vendor/v8', __dir__) end end end
Version data entries
132 entries across 132 versions & 1 rubygems