summaryrefslogtreecommitdiff
path: root/ext/-test-/proc/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/proc/extconf.rb')
-rw-r--r--ext/-test-/proc/extconf.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/-test-/proc/extconf.rb b/ext/-test-/proc/extconf.rb
index 9f87575..d786b15 100644
--- a/ext/-test-/proc/extconf.rb
+++ b/ext/-test-/proc/extconf.rb
@@ -1,8 +1,3 @@
# frozen_string_literal: false
-$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
-$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(' ')}\""
-create_makefile("-test-/proc")
+require_relative "../auto_ext.rb"
+auto_ext(inc: true)