Commit 1662ca0
committed
update-deps: skip bundled-gem object files in read_cc_deps
Mirrors the existing `.bundle/` filter in read_make_deps (line 330).
After ordering `ext/configure-ext.mk` after prepare-gems, bundled-gem
C extensions get compiled during the main build, so `Pathname.glob('**/*.o')`
picks up things like `.bundle/gems/bigdecimal-4.1.2/ext/bigdecimal/bigdecimal.o`.
Those targets then reach `in_makefile`, which has no case for `.bundle/`
paths and raises "unexpected target".
Bundled gems own their depend files, so they should be skipped here.
https://claude.ai/code/session_01YRoRyZPew2LtN6u6BX8bzx1 parent aed1130 commit 1662ca0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
0 commit comments