[postgis-tickets] r17762 - Be explicit about how to build liblwgeom and libpgcommon libs

Paul Ramsey pramsey at cleverelephant.ca
Thu Aug 22 10:23:29 PDT 2019


Author: pramsey
Date: 2019-08-22 10:23:29 -0700 (Thu, 22 Aug 2019)
New Revision: 17762

Modified:
   trunk/topology/Makefile.in
Log:
Be explicit about how to build liblwgeom and libpgcommon libs


Modified: trunk/topology/Makefile.in
===================================================================
--- trunk/topology/Makefile.in	2019-08-22 16:33:42 UTC (rev 17761)
+++ trunk/topology/Makefile.in	2019-08-22 17:23:29 UTC (rev 17762)
@@ -41,6 +41,7 @@
   topology_drop_after.sql
 
 # Objects to build using PGXS
+
 OBJS = postgis_topology.o
 
 # Libraries to link into the module (proj, geos)
@@ -78,8 +79,14 @@
 # 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
 # directory for regression testing.



More information about the postgis-tickets mailing list