diff options
| author | Stanislav Malyshev <stas@php.net> | 2000-12-17 11:17:50 +0000 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2000-12-17 11:17:50 +0000 |
| commit | 8b1377043dfccffaf7ffefc796afced571b17735 (patch) | |
| tree | 005ef3d3c7d3502ef488d678634af62746e98bbe | |
| parent | 2c650cd178e56f3231d3e22e70dfb2a08875f7fe (diff) | |
| download | php-git-8b1377043dfccffaf7ffefc796afced571b17735.tar.gz | |
No need to link main binary with ODBC libs if we use shared module
| -rw-r--r-- | ext/odbc/config.m4 | 4 |
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) |
