From bbbedbb4014b7cea54c3da23e1dc9b427842f1dd Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 24 Apr 2012 09:16:17 +0000 Subject: [PATCH] liblwgeom depends on postgis_config.h and postgis_svn_revision.h (#1786) git-svn-id: http://svn.osgeo.org/postgis/trunk@9656 b70326c6-7e19-0410-871a-916f4a2858ee --- NEWS | 1 + liblwgeom/Makefile.in | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index e1184fe3b..ecd013c97 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,7 @@ PostGIS 2.0.1 * Enhancements * - More detailed exception message from topology editing functions. + - #1786, improved build dependencies PostGIS 2.0.0 2012/04/03 diff --git a/liblwgeom/Makefile.in b/liblwgeom/Makefile.in index 63a7b57c7..53976bff1 100644 --- a/liblwgeom/Makefile.in +++ b/liblwgeom/Makefile.in @@ -114,6 +114,12 @@ install-liblwgeom: liblwgeom.la uninstall-liblwgeom: $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/liblwgeom.la" +# Make all objects depend upon postgis_config.h and postgis_svn_revision.h +$(LT_OBJS): ../postgis_config.h ../postgis_svn_revision.h + +../postgis_svn_revision.h: + $(MAKE) -C .. postgis_svn_revision.h + #liblwgeom.a: $(SA_OBJS) $(NM_OBJS) $(SA_HEADERS) #ar rs liblwgeom.a $(SA_OBJS) $(NM_OBJS) -- 2.40.0