Sha256: 40830a84e9566045e3d6d6cb743d5cfcb7f07e47248b33ed0c4fe81ea5958e9a
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
require "mkmf" have_func('rb_gc_mark_movable') $CFLAGS = '-I. -O3 -std=c99 -DZSTD_STATIC_LINKING_ONLY -DZSTD_MULTITHREAD -pthread -DDEBUGLEVEL=0' $CPPFLAGS += " -fdeclspec" if CONFIG['CXX'] =~ /clang/ Dir.chdir File.expand_path('..', __FILE__) do $srcs = Dir['**/*.c', '**/*.S'] 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zstd-ruby-1.5.6.5 | ext/zstdruby/extconf.rb |
zstd-ruby-1.5.6.4 | ext/zstdruby/extconf.rb |
zstd-ruby-1.5.6.3 | ext/zstdruby/extconf.rb |