summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sybase_ct/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase_ct/config.m4 b/ext/sybase_ct/config.m4
index dcceab32e8..d4ed5f70ac 100644
--- a/ext/sybase_ct/config.m4
+++ b/ext/sybase_ct/config.m4
@@ -8,7 +8,7 @@ PHP_ARG_WITH(sybase-ct, for Sybase-CT support,
if test "$PHP_SYBASE_CT" != "no"; then
- if test "$PHP_SYBASE" != "no"; then
+ if test "$PHP_SYBASE" != "no" && test "$ext_shared" = "no"; then
AC_MSG_ERROR([You can not use both --with-sybase and --with-sybase-ct in same build!])
fi