Sha256: d36cba86d07428ba155ed3c8120f06bfe59887a98aa7978ed5edec4b8034233c

Contents?: true

Size: 677 Bytes

Versions: 60

Compression:

Stored size: 677 Bytes

Contents

#!/usr/bin/ruby

require 'mkmf'

if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
  # XOPEN_SOURCE needed for strptime:
  # https://stackoverflow.com/questions/35234152/strptime-giving-implicit-declaration-and-undefined-reference
  $CFLAGS += " -std=c99 -O3 -DNDEBUG -D_XOPEN_SOURCE=700"
else
  $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

60 entries across 60 versions & 1 rubygems

Version Path
google-protobuf-3.9.2-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.2-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.2-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.2-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.2 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.2-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.1-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.1-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.1-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.1-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.1 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.1-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0 ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0.rc.1-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.9.0.rc.1-x86-mingw32 ext/google/protobuf_c/extconf.rb