summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/-test-/symbol/extconf.rb
blob: fc00ec9abfb1ddc47925a9d6400d6bc04d16082a (plain)
1
2
3
4
5
6
7
$srcs = Dir[File.join($srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
inits = $srcs.map {|s| File.basename(s, ".*")}
inits.delete("init")
inits.map! {|s|"X(#{s})"}
$defs << "-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\""
have_func("rb_pin_dynamic_symbol")
create_makefile("-test-/symbol")