summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/odbc/config.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4
index d0e1a7d209..5191b61bfa 100644
--- a/ext/odbc/config.m4
+++ b/ext/odbc/config.m4
@@ -460,7 +460,9 @@ fi
if test -n "$ODBC_TYPE"; then
INCLUDES="$INCLUDES $ODBC_INCLUDE"
if test "$ODBC_TYPE" != "dbmaker"; then
- EXTRA_LIBS="$EXTRA_LIBS $ODBC_LFLAGS $ODBC_LIBS"
+ if test $shared != "yes"; then
+ EXTRA_LIBS="$EXTRA_LIBS $ODBC_LFLAGS $ODBC_LIBS"
+ fi
fi
AC_DEFINE(HAVE_UODBC,1,[ ])
PHP_SUBST(ODBC_INCDIR)