Sha256: daf50225ebbb292e1e630d4d58ed37827ebf0ef973760ac8b046c9c59e9b9e0a

Contents?: true

Size: 447 Bytes

Versions: 11

Compression:

Stored size: 447 Bytes

Contents

#!/usr/bin/ruby

require 'mkmf'

unless RUBY_PLATFORM =~ /mswin|mingw/
  $CFLAGS += " -std=c99 -O3 -DNDEBUG"
end


if RUBY_PLATFORM =~ /linux/
  # Instruct the linker to point memcpy calls at our __wrap_memcpy wrapper.
  $LDFLAGS += " -Wl,-wrap,memcpy"
end

$objs = ["protobuf.o", "defs.o", "storage.o", "message.o",
         "repeated_field.o", "map.o", "encode_decode.o", "upb.o",
         "wrap_memcpy.o"]

create_makefile("google/protobuf_c")

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
google-protobuf-3.6.1-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.1-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.1-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.1-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.1-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.1 ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.0-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.0-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.0-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.0-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.6.0 ext/google/protobuf_c/extconf.rb