[postgis-commits] svn - r3653 - spike/wktraster

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Fri Feb 6 00:30:31 PST 2009


Author: strk
Date: 2009-02-06 00:30:30 -0800 (Fri, 06 Feb 2009)
New Revision: 3653

Modified:
   spike/wktraster/configure.ac
Log:
link statically against liblwgeom, to be sure not to mix headers and lib version

Modified: spike/wktraster/configure.ac
===================================================================
--- spike/wktraster/configure.ac	2009-02-06 06:27:06 UTC (rev 3652)
+++ spike/wktraster/configure.ac	2009-02-06 08:30:30 UTC (rev 3653)
@@ -340,7 +340,7 @@
 
 if test -f "$POSTGIS_SRCDIR/liblwgeom/liblwgeom.h"; then
     LIBLWGEOM_CFLAGS="-I${POSTGIS_SRCDIR}/liblwgeom"
-    LIBLWGEOM_LDFLAGS="-L${POSTGIS_SRCDIR}/liblwgeom -llwgeom"
+    LIBLWGEOM_LDFLAGS="${POSTGIS_SRCDIR}/liblwgeom/liblwgeom.a"
 else
     AC_MSG_ERROR([${POSTGIS_SRCDIR} doesn't contain liblwgeom/liblwgeom.h or lwgeom/liblwgeom.h, try --with-postgis-sources=DIR (requires postgis svn version)])
 fi



More information about the postgis-commits mailing list