On Wed, 18 Jun 2008 16:08:36 +0530 Seema Alevoor <[EMAIL PROTECTED]> wrote:
> Hi, > > APR-UTIL's configure script sets 'LDADD_dbd_pgsql' to > "$pgsql_LDFLAGS -lpq $pgsql_LIBS" (pgsql_LIBS = `pg_config > --libs`) > whereas PostgresSQL README (src/port/README) says > "For applications, we use -lpgport before -lpq, so the static > files from libpgport are linked first." > > In that case, shouldn't it be set to "$pgsql_LDFLAGS $pgsql_LIBS > -lpq" ? Makes sense to me. The current ordering is introduced in r658532, and it seems that other DBD drivers are potentially affected if they have any ordering issues. Any reason we shouldn't just switch the ordering? -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/
