Sha256: b1144fe0b6c85d6dcc5e22646103c485fcdf7f12f562184542d890794bb10a38
Contents?: true
Size: 656 Bytes
Versions: 18
Compression:
Stored size: 656 Bytes
Contents
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 $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
18 entries across 18 versions & 1 rubygems