From db094b4b2e5ef0f0c30f412ce3a2516e31e17da7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 17 Sep 2019 15:43:00 +0300 Subject: [PATCH] Fixed CLI/CGI/FPM build, when they are built together with Apache SAPI --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8f19fe0e60..a522bdc2b5 100644 --- a/configure.ac +++ b/configure.ac @@ -1103,7 +1103,9 @@ enable_static=yes case $php_sapi_module in shared[)] - enable_static=no + 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 case $with_pic in yes) standard_libtool_flag='-prefer-pic' -- 2.40.0