From: Hartmut Holzgraefe Date: Wed, 23 Jul 2008 21:44:25 +0000 (+0000) Subject: MFH: corrected library search path order in tests X-Git-Tag: php-5.3.0alpha1~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54981e8c2e1d0cf757c62927f2d3b088d8649b40;p=php MFH: corrected library search path order in tests --- diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4 index 16c81f2208..271079685c 100644 --- a/ext/pgsql/config.m4 +++ b/ext/pgsql/config.m4 @@ -66,7 +66,7 @@ if test "$PHP_PGSQL" != "no"; then AC_DEFINE(HAVE_PGSQL,1,[Whether to build PostgreSQL support or not]) old_LIBS=$LIBS old_LDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -L$PGSQL_LIBDIR" + LDFLAGS="-L$PGSQL_LIBDIR $LDFLAGS" AC_CHECK_LIB(pq, PQescapeString,AC_DEFINE(HAVE_PQESCAPE,1,[PostgreSQL 7.2.0 or later])) AC_CHECK_LIB(pq, PQunescapeBytea,AC_DEFINE(HAVE_PQUNESCAPEBYTEA,1,[PostgreSQL 7.3.0 or later])) AC_CHECK_LIB(pq, PQsetnonblocking,AC_DEFINE(HAVE_PQSETNONBLOCKING,1,[PostgreSQL 7.0.x or later]))