Skip to content

Commit 50527aa

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fixed CLI/CGI/FPM build, when they are built together with Apache SAPI
2 parents 2cafaab + db094b4 commit 50527aa

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
@@ -1116,7 +1116,9 @@ enable_static=yes
11161116

11171117
case $php_sapi_module in
11181118
shared[)]
1119-
enable_static=no
1119+
if test "$PHP_CGI" = "no" && test "$PHP_CLI" = "no" && test "$PHP_FPM" = "no" && test "$PHP_LITESPEED" = "no" && test "$PHP_PHPDBG" = "no"; then
1120+
enable_static=no
1121+
fi
11201122
case $with_pic in
11211123
yes)
11221124
standard_libtool_flag='-prefer-pic'

0 commit comments

Comments
 (0)