Sha256: ffcfabf0040f9d055e11481e35abd4180ca8c6e6a40d10da7796b6c3cdb48d9b
Contents?: true
Size: 1.08 KB
Versions: 51
Compression:
Stored size: 1.08 KB
Contents
unless defined?(JRUBY_VERSION) begin require 'mkmf' include_directory = File.expand_path(File.join(File.dirname(__FILE__), "..", "protobuf-2.4.1", "src")) $CPPFLAGS << " -I#{include_directory}" $CPPFLAGS << " -Wall " have_library("pthread") have_library("protoc") have_library("protobuf") create_makefile('ruby_generator') rescue ::Gem::Installer::ExtensionBuildError => ex $stdout << <<-WARNING Cannot compile native extension. If you are running on Jruby or Windows you should compile protocol buffer definitions on another computer and then use those definitions locally. Only the compiler is restricted by this. The definitions should work without issue. WARNING $stdout << $/ end else $stdout << <<-WARNING Cannot compile native extension. If you are running on Jruby or Windows you should compile protocol buffer definitions on another computer and then use those definitions locally. Only the compiler is restricted by this. The definitions should work without issue. WARNING $stdout << $/ end
Version data entries
51 entries across 51 versions & 1 rubygems