summaryrefslogtreecommitdiffstats
path: root/src/gdal-1-fix-pg.patch
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-05-14 17:59:46 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-05-14 17:59:46 (GMT)
commit6f45b35ff46fcc339715d0360a9a998e0ef7cb2b (patch)
treef482f0f61d65733f3aed489715f9b5b44bb6c781 /src/gdal-1-fix-pg.patch
parent40f4cf1fbfe702ed8fce45868f88f4b52f3ae227 (diff)
downloadmxe-6f45b35ff46fcc339715d0360a9a998e0ef7cb2b.zip
mxe-6f45b35ff46fcc339715d0360a9a998e0ef7cb2b.tar.gz
mxe-6f45b35ff46fcc339715d0360a9a998e0ef7cb2b.tar.bz2
improved naming of patch files
Diffstat (limited to 'src/gdal-1-fix-pg.patch')
-rw-r--r--src/gdal-1-fix-pg.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gdal-1-fix-pg.patch b/src/gdal-1-fix-pg.patch
new file mode 100644
index 0000000..b5256a3
--- /dev/null
+++ b/src/gdal-1-fix-pg.patch
@@ -0,0 +1,15 @@
+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}"
+