Skip to content

Add ext/zlib/depend - #146

Merged
hsbt merged 1 commit into
masterfrom
claude/admiring-darwin-2efacd
Sep 17, 2026
Merged

hsbt merged 1 commit into
masterfrom
claude/admiring-darwin-2efacd

Conversation

@hsbt

@hsbt hsbt commented Sep 17, 2026

Copy link
Copy Markdown
Member

zlib carries no ext/zlib/depend, and since Misc #22206 has each default gem keep its own dependency file while minimize_dependencies reduces it on the ruby/ruby side, the whole-tree form ruby tool/sync_default_gems.rb all loses the file from ruby/ruby and it has to be restored by hand.

This adds it as ruby ext/zlib/extconf.rb --update-depend generates it, which scans only this repository and therefore names no installed Ruby headers.

Generated with Claude Code

`tool/sync_default_gems.rb all` removes the whole `ext/zlib` directory before copying this repository over it, so the `depend` file that ruby/ruby carries is lost on every full sync. Keeping the authoritative copy here restores the split that Misc #22206 settled: the complete dependency rules live upstream, and ruby/ruby keeps only the source correspondence that `minimize_dependencies` leaves behind.

Generated with `ruby ext/zlib/extconf.rb --update-depend` from a build directory outside the source tree, so the root detected is this repository and no `$(hdrdir)` entries are pulled in.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 77771ef into master Sep 17, 2026
60 checks passed
@hsbt
hsbt deleted the claude/admiring-darwin-2efacd branch September 17, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant