]> granicus.if.org Git - postgis/commitdiff
Be explicit about how to build liblwgeom and libpgcommon libs
authorPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 22 Aug 2019 17:23:29 +0000 (17:23 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Thu, 22 Aug 2019 17:23:29 +0000 (17:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17762 b70326c6-7e19-0410-871a-916f4a2858ee

topology/Makefile.in

index 358a4432df0e23ae31428920429caafc489d5ae9..f8803d7538e45126da7a4d5c1b69b1a7b098e6fb 100644 (file)
@@ -41,6 +41,7 @@ SQL_OBJS = \
   topology_drop_after.sql
 
 # Objects to build using PGXS
+
 OBJS = postgis_topology.o
 
 # Libraries to link into the module (proj, geos)
@@ -78,7 +79,13 @@ PERL=@PERL@
 # see http://trac.osgeo.org/postgis/ticket/1158#comment:57
 SHLIB_LINK := $(SHLIB_LINK_F) $(SHLIB_LINK)
 
-$(OBJS): ../liblwgeom/.libs/liblwgeom.a ../libpgcommon/libpgcommon.a ../postgis_config.h
+$(OBJS): $(SHLIB_LINK_F)
+
+../libpgcommon/libpgcommon.a:
+       make -C ../libpgcommon
+
+../liblwgeom/.libs/liblwgeom.a:
+       make -C ../liblwgeom
 
 # If REGRESS=1 passed as a parameter, change the default install paths
 # so that no prefix is included. This allows us to relocate to a temporary