1
0
mirror of https://github.com/php/php-src.git synced 2026-04-12 02:23:18 +02:00

No need to link main binary with ODBC libs if we use shared module

This commit is contained in:
Stanislav Malyshev
2000-12-17 11:17:50 +00:00
parent 2c650cd178
commit 8b1377043d

View File

@@ -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)