]> granicus.if.org Git - postgis/commitdiff
Added pg_config --libs to PGFELIBS as a workaround for systems
authorSandro Santilli <strk@keybit.net>
Wed, 8 Mar 2006 18:21:35 +0000 (18:21 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 8 Mar 2006 18:21:35 +0000 (18:21 +0000)
that doesn't automatically detect dependencies

git-svn-id: http://svn.osgeo.org/postgis/trunk@2315 b70326c6-7e19-0410-871a-916f4a2858ee

configure.in

index 4820018bd6e5652394c0d0d7151146a66276a344..b5032206f09672ff50f094fbf5dbb2e97d7c6738 100644 (file)
@@ -83,7 +83,7 @@ AC_SUBST(PGBIN)
 AC_SUBST(PGTEMPLATE)
 AC_SUBST(LPATH)
 PGFEINCLUDES="-I"`${PGCONFIG} --includedir`
-PGFELIBS="-L"`${PGCONFIG} --libdir`" -lpq"
+PGFELIBS="-L"`${PGCONFIG} --libdir`" -lpq "`${PGCONFIG} --libs 2> /dev/null`
 PGBELIBS="-L"`${PGCONFIG} --libdir`" -lpostgres"
 PGBEINCLUDES="-I"`${PGCONFIG} --includedir-server`
 PGBIN=`${PGCONFIG} --bindir`