view src/gdal-fix-pg.patch @ 948:6ff524e4163c

upgrade package vmime to 0.9.1-svn-r545 r543 | vincent-richard | 2010-04-13 11:51:30 +0200 (Tue, 13 Apr 2010) | 1 line Register non-standard encoding names. r544 | vincent-richard | 2010-05-04 12:07:56 +0200 (Tue, 04 May 2010) | 1 line Fixed typo. r545 | vincent-richard | 2010-05-04 12:49:10 +0200 (Tue, 04 May 2010) | 1 line Use STARTTLS for additional connections (thanks to Andrei).
author Mark Brand <mabrand@mabrand.nl>
date Mon, 10 May 2010 21:32:50 +0200
parents b09aadb3810b
children
line wrap: on
line source

This file is part of mingw-cross-env.
See doc/index.html for further information.

diff -ru gdal-1.7.1.orig/configure.in gdal-1.7.1/configure.in
--- gdal-1.7.1.orig/configure.in	2010-02-08 20:52:34.000000000 +0100
+++ gdal-1.7.1/configure.in	2010-02-15 15:39:39.000000000 +0100
@@ -418,7 +418,7 @@
   AC_MSG_RESULT([yes])
 
   ax_save_LIBS="${LIBS}"
-  LIBS=-L`$PG_CONFIG --libdir`" -lpq"
+  LIBS=-L`$PG_CONFIG --libdir`" -lpq $LIBS"
   AC_CHECK_LIB(pq,PQconnectdb,HAVE_PG=yes,HAVE_PG=no,)
   LIBS="${ax_save_LIBS}"