From: Stanislav Malyshev Date: Sun, 17 Dec 2000 11:17:50 +0000 (+0000) Subject: No need to link main binary with ODBC libs if we use shared module X-Git-Tag: php-4.0.5RC1~872 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b1377043dfccffaf7ffefc796afced571b17735;p=php No need to link main binary with ODBC libs if we use shared module --- 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)