Skip to content

Drop bogus ext/libxml dependency on ext/iconv #16801

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

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Nov 14, 2024

There is no such dependency; only libxml2 depends on libiconv. So when php_libxml.dll is built, it needs to be linked against libiconv, or, when ext/iconv has been configured as static extension, against php8.dll.


Note that I'm not happy with having php8.dll serving as drop-in DLL for a couple of libraries (grep for ADD_DEF_FILE), but this is what we already have. We may revisit this issue later.

There is no such dependency; only libxml2 depends on libiconv.  So when
php_libxml.dll is built, it needs to be linked against libiconv, or,
when ext/iconv has been configured as static extension, against
php8.dll.
Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay now it makes sense I tihnk

@cmb69 cmb69 merged commit 0de8e40 into php:master Nov 15, 2024
10 checks passed
@cmb69 cmb69 deleted the cmb/libxml-iconv-dependency branch November 15, 2024 20:25
cmb69 added a commit to cmb69/php-src that referenced this pull request Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants