Skip to content

Commit 03093ba

Browse files
committed
Bundled gem extensions are out of scope of update-deps
Follow up of commit d5c5fcb. `target` may be the basename only, skip all rules under bundled gem.
1 parent 3edf47d commit 03093ba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tool/update-deps

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ def read_make_deps(cwd)
328328
next if /libyjit.o\z/ =~ target.to_s # skip YJIT Rust object (no corresponding C source)
329329
next if /libzjit.o\z/ =~ target.to_s # skip ZJIT Rust object (no corresponding C source)
330330
next if /target\/release\/libruby.o\z/ =~ target.to_s # skip YJIT+ZJIT Rust object (no corresponding C source)
331+
next if /\.bundle\// =~ curdir.to_s
331332
next if /\.bundle\// =~ target.to_s
332333
next if /\A\./ =~ target.to_s # skip rules such as ".c.o"
333334
#p [curdir, target, deps]

0 commit comments

Comments
 (0)