From: Hartmut Holzgraefe Date: Wed, 23 Jul 2008 21:41:27 +0000 (+0000) Subject: corrected library search path order in tests X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92ba7b34cee2c0e3197c8cd8f3d96fec4603312b;p=php corrected library search path order in tests --- 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]))