From 92ba7b34cee2c0e3197c8cd8f3d96fec4603312b Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Wed, 23 Jul 2008 21:41:27 +0000 Subject: [PATCH] corrected library search path order in tests --- ext/pgsql/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4 index aec14442d9..a1e80de6b1 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])) -- 2.50.1