Skip to content

Commit 9ab7092

Browse files
committed
PHPC-1191: Don't support code coverage for static builds
1 parent 22f46b1 commit 9ab7092

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ if test "$PHP_MONGODB" != "no"; then
8888
[no])
8989

9090
if test "$PHP_COVERAGE" = "yes"; then
91+
if test "$ext_shared" != "yes"; then
92+
AC_MSG_ERROR(code coverage is not supported for static builds)
93+
fi
94+
9195
COVERAGE_CFLAGS="--coverage -g"
9296
COVERAGE_LDFLAGS="--coverage"
9397

0 commit comments

Comments
 (0)