diff options
Diffstat (limited to 'ext/-test-/time/extconf.rb')
-rw-r--r-- | ext/-test-/time/extconf.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/-test-/time/extconf.rb b/ext/-test-/time/extconf.rb index c0b193445c..d786b15db9 100644 --- a/ext/-test-/time/extconf.rb +++ b/ext/-test-/time/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-/time") +require_relative "../auto_ext.rb" +auto_ext(inc: true) |