[php-src] PR #15846: Support building ext/gd without libxpm on Windows
| From: | cmb69 | Date: | Thu, 12 Sep 2024 01:08:59 +0000 |
| Subject: | [php-src] PR #15846: Support building ext/gd without libxpm on Windows | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28546@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15846
Author: cmb69
For GD, libxpm is an optional dependency, and we should treat it as such, i.e. if the library is not
found, we build ext/gd without XPM support.
This should also be done for other optional dependencies (like libjpeg), but since we're close
to PHP 8.4.0RC1, we postpone that. However, wrt libxpm[1] we're taking action immediately, so
that we can ship builds without XPM support, or at least custom builds without XPM support are
possible without modifying the sources.
[1] <https://news-web.php.net/php.internals/125502>