Sha256: 911c41be3400873f6957ef72047d5cf4f16a435bbabcc9e6bdfaa8abf740a347
Contents?: true
Size: 685 Bytes
Versions: 4
Compression:
Stored size: 685 Bytes
Contents
require "mkmf" have_func('rb_gc_mark_movable') $CFLAGS = '-I. -O3 -std=c99 -DZSTD_STATIC_LINKING_ONLY' $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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
zstd-ruby-1.5.6.2 | ext/zstdruby/extconf.rb |
zstd-ruby-1.5.6.1 | ext/zstdruby/extconf.rb |
zstd-ruby-1.5.6.0 | ext/zstdruby/extconf.rb |
zstd-ruby-1.5.5.1 | ext/zstdruby/extconf.rb |