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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user