]> granicus.if.org Git - postgis/commitdiff
Make all PostGIS object files depend upon liblwgeom, so that if liblwgeom is
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Mon, 4 Jul 2011 09:26:10 +0000 (09:26 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Mon, 4 Jul 2011 09:26:10 +0000 (09:26 +0000)
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

postgis/Makefile.in

index 240f83a2ce53136cd840d62a5622e2729f43703b..3bc68f257f4ad4cbebd5b94132e4b1bdb00e0eb8 100644 (file)
@@ -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