Skip to content

Commit 300927b

Browse files
committed
[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`.
1 parent 58f1127 commit 300927b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/extmk.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ def create_makefile(*args, &block)
592592
build_complete = $(TARGET_GEM_DIR)/gem.build_complete
593593
install-so: build_complete
594594
clean-so:: clean-build_complete
595+
$(build_complete) $(OBJS): $(TARGET_SO_DIR_TIMESTAMP)
595596
596597
build_complete: $(build_complete)
597598
$(build_complete): $(TARGET_SO)

0 commit comments

Comments
 (0)