Sha256: d712e3f9f8fb0fcdb1ccfc7394215109da1140c389999d71c7e7055a283cf0d4
Contents?: true
Size: 562 Bytes
Versions: 20
Compression:
Stored size: 562 Bytes
Contents
require "mkmf" $CFLAGS = '-I. -O3 -std=c99' Dir.chdir File.expand_path('..', __FILE__) do $srcs = Dir['**/*.c'] Dir.glob('libzstd/*') do |path| if Dir.exist?(path) $VPATH << "$(srcdir)/#{path}" $INCFLAGS << " -I$(srcdir)/#{path}" end end end # add include path to the internal folder # $(srcdir) is a root folder, where "extconf.rb" is stored $INCFLAGS << " -I$(srcdir) -I$(srcdir)/libzstd" # add folder, where compiler can search source files $VPATH << "$(srcdir)" create_makefile("zstd-ruby/zstdruby")
Version data entries
20 entries across 20 versions & 1 rubygems