From 61c61ecf536f882c0dc90da4b8aaa46306034c5c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 17 Sep 2026 14:39:47 +0900 Subject: [PATCH] Add depend `tool/sync_default_gems.rb` copies this directory wholesale, so the rule that builds `constdefs.h` has to live here or ruby/ruby loses it. Generated with `ruby ext/etc/extconf.rb --update-depend`. https://bugs.ruby-lang.org/issues/22206 Co-Authored-By: Claude Opus 5 --- ext/etc/depend | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ext/etc/depend diff --git a/ext/etc/depend b/ext/etc/depend new file mode 100644 index 0000000..24238ba --- /dev/null +++ b/ext/etc/depend @@ -0,0 +1,8 @@ +constdefs.h : $(srcdir)/mkconstants.rb + @echo "generating constant definitions" + @$(RUBY) $(srcdir)/mkconstants.rb -o constdefs.h + +# AUTOGENERATED DEPENDENCIES START +etc.o: constdefs.h +etc.o: etc.c +# AUTOGENERATED DEPENDENCIES END