From: Mark Cave-Ayland Date: Mon, 4 Jul 2011 09:26:10 +0000 (+0000) Subject: Make all PostGIS object files depend upon liblwgeom, so that if liblwgeom is X-Git-Tag: 2.0.0alpha1~1271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f759f6e9f137cefb0d6ae593f28330b6967b3857;p=postgis Make all PostGIS object files depend upon liblwgeom, so that if liblwgeom is changed then it also triggers a (complete) rebuild of PostGIS. Note as documented in #447 this is an over-cautious approach since it rebuilds all of PostGIS if liblwgeom changes, but at least its a starting point and does actually solve the case whereby a user updates liblwgeom but doesn't force a rebuild of PostGIS. git-svn-id: http://svn.osgeo.org/postgis/trunk@7571 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/Makefile.in b/postgis/Makefile.in index 240f83a2c..3bc68f257 100644 --- a/postgis/Makefile.in +++ b/postgis/Makefile.in @@ -105,6 +105,9 @@ ifeq ($(REGRESS),1) datadir=/share endif +# Make all PostGIS objects depend upon liblwgeom, so that if an underlying +# change is made, a PostGIS rebuild is triggered. +$(PG_OBJS): ../liblwgeom/liblwgeom.a # Borrow the $libdir substitution from PGXS but customise by adding the version number %.sql: %.sql.in