Skip to content

Commit db094b4

Browse files
committed
Fixed CLI/CGI/FPM build, when they are built together with Apache SAPI
1 parent d266ba4 commit db094b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.ac

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,9 @@ enable_static=yes
11031103

11041104
case $php_sapi_module in
11051105
shared[)]
1106-
enable_static=no
1106+
if test "$PHP_CGI" = "no" && test "$PHP_CLI" = "no" && test "$PHP_FPM" = "no" && test "$PHP_LITESPEED" = "no" && test "$PHP_PHPDBG" = "no"; then
1107+
enable_static=no
1108+
fi
11071109
case $with_pic in
11081110
yes)
11091111
standard_libtool_flag='-prefer-pic'

0 commit comments

Comments
 (0)