[php-src] PR #14901: Fix GH-14443: Cross-compiling with external GD library
| From: | petk | Date: | Wed, 10 Jul 2024 12:16:44 +0000 |
| Subject: | [php-src] PR #14901: Fix GH-14443: Cross-compiling with external GD library | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27167@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14901
Author: petk
This enables cross-compiling simplifications when using external GD library as requested in GH-14443
using cache variables:
* php_cv_lib_gd_gdImageCreateFromPng
* php_cv_lib_gd_gdImageCreateFromAvif
* php_cv_lib_gd_gdImageCreateFromWebp
* php_cv_lib_gd_gdImageCreateFromJpeg
* php_cv_lib_gd_gdImageCreateFromXpm
* php_cv_lib_gd_gdImageCreateFromBmp
* php_cv_lib_gd_gdImageCreateFromTga
For example:
./configure --host=... --build=... --enable-gd --with-external-gd \
php_cv_lib_gd_gdImageCreateFromPng=yes
Note that this has already been implemented in master branch (PHP-8.4-dev) and this one is targeting
PHP-8.2.