summaryrefslogtreecommitdiff
path: root/ext/-test-/symbol
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/symbol')
-rw-r--r--ext/-test-/symbol/extconf.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/-test-/symbol/extconf.rb b/ext/-test-/symbol/extconf.rb
index f62fd47..ecebdb7 100644
--- a/ext/-test-/symbol/extconf.rb
+++ b/ext/-test-/symbol/extconf.rb
@@ -1,8 +1,4 @@
# frozen_string_literal: false
-$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(' ')}\""
+require_relative "../auto_ext.rb"
have_func("rb_pin_dynamic_symbol")
-create_makefile("-test-/symbol")
+auto_ext