Sha256: c728c6a0c9f32590f1cc0f27e073ede81920a1d3fe5ebf50017723d4d44ee061

Contents?: true

Size: 564 Bytes

Versions: 174

Compression:

Stored size: 564 Bytes

Contents

#!/usr/bin/ruby

require 'mkmf'

if RUBY_PLATFORM =~ /darwin/ || RUBY_PLATFORM =~ /linux/
  $CFLAGS += " -std=gnu99 -O3 -DNDEBUG -fvisibility=hidden -Wall -Wsign-compare -Wno-declaration-after-statement"
else
  $CFLAGS += " -std=gnu99 -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", "convert.o", "defs.o", "message.o",
         "repeated_field.o", "map.o", "ruby-upb.o", "wrap_memcpy.o"]

create_makefile("google/protobuf_c")

Version data entries

174 entries across 174 versions & 1 rubygems

Version Path
google-protobuf-3.19.6-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.6-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.6-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.6-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.6 ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.6-x86_64-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.18.3-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.18.3-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.18.3-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.18.3-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.18.3 ext/google/protobuf_c/extconf.rb
google-protobuf-3.18.3-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.5-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.5-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.5-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.5-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.5 ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.5-x86_64-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.4-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.19.4-x86-mingw32 ext/google/protobuf_c/extconf.rb