Sha256: b4f7a4b92e2f48f5f5486923c87a1c2dd1018853f791ba8f7e5434f73d000fac

Contents?: true

Size: 622 Bytes

Versions: 36

Compression:

Stored size: 622 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"]

find_header('third_party/wyhash/wyhash.h', '../../../..')
create_makefile("google/protobuf_c")

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
google-protobuf-3.17.3-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.3-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.3-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.3-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.3 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.3-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.2-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.2-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.2-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.2-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.2 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.2-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.1-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.1-x86-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.1-x86-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.1-x64-mingw32 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.1 ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.1-universal-darwin ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.0-x86_64-linux ext/google/protobuf_c/extconf.rb
google-protobuf-3.17.0-x86-mingw32 ext/google/protobuf_c/extconf.rb