From f759f6e9f137cefb0d6ae593f28330b6967b3857 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Mon, 4 Jul 2011 09:26:10 +0000 Subject: [PATCH] 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 --- postgis/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.50.1