Группа :: Разработка/Прочее
Пакет: php8.1
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: php-8.0-no-static-program.patch
Скачать
Скачать
--- php-source/build/php.m4.orig 2021-06-29 14:01:10.375738017 +0000
+++ php-source/build/php.m4 2021-06-29 14:02:52.959301675 +0000
@@ -838,6 +838,8 @@
AC_DEFUN([PHP_SELECT_SAPI],[
if test "$2" = "program"; then
PHP_BINARIES="$PHP_BINARIES $1"
+ OVERALL_TARGET=libphp[]$PHP_MAJOR_VERSION[.la]
+ php_sapi_module=program
elif test "$PHP_SAPI" != "none"; then
AC_MSG_ERROR([
+--------------------------------------------------------------------+
--- php-source/configure.ac.orig 2021-06-25 06:59:56.991213958 +0000
+++ php-source/configure.ac 2021-06-25 07:01:16.708180260 +0000
@@ -1057,7 +1057,7 @@
enable_static=yes
case $php_sapi_module in
- shared[)]
+ program|shared[)]
if test "$PHP_CGI" = "no" && test "$PHP_CLI" = "no" && test "$PHP_FPM" = "no" && test "$PHP_LITESPEED" = "no" && test "$PHP_PHPDBG" = "no"; then
enable_static=no
fi