Skip to content

Build ext/zip as shared library by default on Windows #8549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented May 13, 2022

This allows users to use PECL/zip, which is well maintained and often
brings new features which are not yet available in ext/zip, as drop-in
replacement for the official Windows php-src builds.


As it is now, building Windows binaries for PECL/zip is pretty much useless, since these builds can't used for the official php-src binaries, because these have ext/zip statically built-in.

This allows users to use PECL/zip, which is well maintained and often
brings new features which are not yet available in ext/zip, as drop-in
replacement for the official Windows php-src builds.
@cmb69 cmb69 requested a review from remicollet May 13, 2022 13:01
@cmb69
Copy link
Member Author

cmb69 commented May 13, 2022

Travis CI failure is unrelated.

@remicollet
Copy link
Member

Yes, I think it make sense to build as much as possible extensions shared

This give more flexibility to users: can remove unneeded ones (reduce memory usage) or update internal with pecl alternative.

+1

(btw, can't review the .w32 change ;) but seems ok to me)

@cmb69
Copy link
Member Author

cmb69 commented May 16, 2022

If there are no objections, I'll merge this by the end of the week.

@cmb69 cmb69 closed this in 33fc9e5 May 20, 2022
@cmb69 cmb69 deleted the cmb/zip-shared branch May 20, 2022 12:33
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.

2 participants