Sha256: e0ae78f265641bdd35ffb7071aa4058c1e9ffca26f65db644016cffe2da3b4c9
Contents?: true
Size: 439 Bytes
Versions: 14
Compression:
Stored size: 439 Bytes
Contents
# Loads mkmf which is used to make makefiles for Ruby extensions require 'mkmf' $CFLAGS << " -O3 -std=c99" # Needed by Ruby 2.1 have_func("rb_sym2str") have_func("rb_str_cat_cstr") have_func("rb_str_reserve") gem_name = File.basename(__dir__) extension_name = 'trenni' # The destination dir_config(extension_name) # Generate the makefile to compile the native binary into `lib`: create_makefile(File.join(gem_name, extension_name))
Version data entries
14 entries across 14 versions & 1 rubygems