[Bug #21845] Rebuild gem extensions at RUBY_ABI_VERSION change

As `TARGET_SO_DIR_TIMESTAMP` contains `ruby_version`, after bumping
`RUBY_ABI_VERSION` it should not be existing.  Usually such outdated
files will be removed by `make outdate-bundled-gems` automatically
invoked by `make up`.
This commit is contained in:
Nobuyoshi Nakada 2026-01-20 18:37:24 +09:00
parent 58f1127b51
commit 300927b4bb
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2026-01-20 10:55:07 +00:00

View File

@ -592,6 +592,7 @@ gem = #{@gemname}
build_complete = $(TARGET_GEM_DIR)/gem.build_complete
install-so: build_complete
clean-so:: clean-build_complete
$(build_complete) $(OBJS): $(TARGET_SO_DIR_TIMESTAMP)
build_complete: $(build_complete)
$(build_complete): $(TARGET_SO)