cvs: php4 /ext/odbc config.m4

From: Date: Sun, 17 Dec 2000 11:17:51 +0000
Subject: cvs: php4 /ext/odbc config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3195@lists.php.net to get a copy of this message
stas Sun Dec 17 03:17:51 2000 EDT Modified files: /php4/ext/odbc config.m4 Log: No need to link main binary with ODBC libs if we use shared module Index: php4/ext/odbc/config.m4 diff -u php4/ext/odbc/config.m4:1.32 php4/ext/odbc/config.m4:1.33 --- php4/ext/odbc/config.m4:1.32 Thu Dec 7 03:13:49 2000 +++ php4/ext/odbc/config.m4 Sun Dec 17 03:17:50 2000 @@ -460,7 +460,9 @@ 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)

« previous php.cvs (#3195) next »