diff options
Diffstat (limited to 'ruby/ext/google/protobuf_c/extconf.rb')
-rw-r--r-- | ruby/ext/google/protobuf_c/extconf.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ruby/ext/google/protobuf_c/extconf.rb b/ruby/ext/google/protobuf_c/extconf.rb new file mode 100644 index 00000000..7cf7bf6a --- /dev/null +++ b/ruby/ext/google/protobuf_c/extconf.rb @@ -0,0 +1,10 @@ +#!/usr/bin/ruby + +require 'mkmf' + +$CFLAGS += " -O3 -std=c99 -Wno-unused-function -DNDEBUG " + +$objs = ["protobuf.o", "defs.o", "storage.o", "message.o", + "repeated_field.o", "encode_decode.o", "upb.o"] + +create_makefile("google/protobuf_c") |