php8: workaround libgd capability detection (refs #23846) 24367/head
authorMichael Heimpold <mhei@heimpold.de>
Tue, 28 May 2024 19:00:02 +0000 (21:00 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Sat, 8 Jun 2024 05:33:18 +0000 (07:33 +0200)
commit1b7f11d96ddeea22ae9a88bf3222df50b33d2a7c
treeb88432ee7e799329357cd58eea6bb5718f21272b
parent1dd9f4bfc85d69c19f78a06c0fd5eb3ec247e2e3
php8: workaround libgd capability detection (refs #23846)

This is an alternative approach to #24209. Instead of switching
to bundled/internal libgd, workaround the capability detection
by giving the information to the build system directly.

PHP's original approach does not work when cross-compiling,
but since it is known which features are enabled in OpenWrt's
build, we can directly enable these features here, too.

This is not that future prove, but should do the job for the
moment until a proper solution was discussed with upstream.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lang/php8/Makefile
lang/php8/patches/1020_workaround-external-libgd-feature-detection.patch [new file with mode: 0644]