Sha256: bb470f8d6ad1a8c22bd3c3bdbee763a9d0927e388c4e118a6b59aad21721ff1c
Contents?: true
Size: 1.1 KB
Versions: 47
Compression:
Stored size: 1.1 KB
Contents
unless defined?(JRUBY_VERSION) begin require 'mkmf' include_directory = File.expand_path(ENV['PROTOC_SRC'] || 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
47 entries across 47 versions & 1 rubygems