| Message ID | 20251208232744.1944383-1-raj.khem@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-oe] php: Provide cached value for sendmail program | expand |
diff --git a/meta-oe/recipes-devtools/php/php_8.5.0.bb b/meta-oe/recipes-devtools/php/php_8.5.0.bb index 412ffd9f06..6db7ee7c82 100644 --- a/meta-oe/recipes-devtools/php/php_8.5.0.bb +++ b/meta-oe/recipes-devtools/php/php_8.5.0.bb @@ -72,6 +72,7 @@ EXTRA_OECONF = "--enable-mbstring \ --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \ --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \ ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'ac_cv_c_bigendian_php=no', 'ac_cv_c_bigendian_php=yes', d)} \ + ac_cv_path_PROG_SENDMAIL=sendmail \ ${COMMON_EXTRA_OECONF} \ "
Left to its own volition, configure goes on a hunt in usual paths in /usr which means it pokes at build system for sendmail existence. This could also be under different paths e.g. /usr/lib or /usr/sbin depending upong build distro The paths where sendmail will be installed on target is usual paths e.g. /bin or /usr/bin on OE, which are added to program search paths anyway. This fixes reproducibility issues, since this string gets its way into the PHP binaries. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-devtools/php/php_8.5.0.bb | 1 + 1 file changed, 1 insertion(+)