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

Version Path
protobuf-2.2.3 ext/ruby_generator/extconf.rb
protobuf-2.2.2 ext/ruby_generator/extconf.rb
protobuf-2.2.1 ext/ruby_generator/extconf.rb
protobuf-2.2.0 ext/ruby_generator/extconf.rb
protobuf-2.1.3 ext/ruby_generator/extconf.rb
protobuf-2.1.2 ext/ruby_generator/extconf.rb
protobuf-2.1.1 ext/ruby_generator/extconf.rb
protobuf-2.1.0 ext/ruby_generator/extconf.rb
protobuf-2.0.3 ext/ruby_generator/extconf.rb
protobuf-2.0.2 ext/ruby_generator/extconf.rb
protobuf-2.0.1 ext/ruby_generator/extconf.rb
protobuf-2.0.0 ext/ruby_generator/extconf.rb
protobuf-2.0.0.rc6 ext/ruby_generator/extconf.rb
protobuf-2.0.0.rc5 ext/ruby_generator/extconf.rb
protobuf-2.0.0.rc4 ext/ruby_generator/extconf.rb
protobuf-2.0.0.rc3 ext/ruby_generator/extconf.rb
protobuf-2.0.0.rc2 ext/ruby_generator/extconf.rb
protobuf-2.0.0.rc1 ext/ruby_generator/extconf.rb