]> granicus.if.org Git - postgis/commitdiff
It's the object files that depend on headers, not the library
authorSandro Santilli <strk@keybit.net>
Mon, 25 May 2015 16:38:57 +0000 (16:38 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 25 May 2015 16:38:57 +0000 (16:38 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13552 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/Makefile.in

index fb9824601d2261263589ccbd8a4f0232534598ff..2fa4f255b20455d12050cd7b60d931c1aa141aaf 100644 (file)
@@ -137,7 +137,7 @@ 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
+$(LT_OBJS): ../postgis_config.h ../postgis_svn_revision.h $(SA_HEADERS)
 
 ../postgis_svn_revision.h:
        $(MAKE) -C .. postgis_svn_revision.h
@@ -145,7 +145,7 @@ $(LT_OBJS): ../postgis_config.h ../postgis_svn_revision.h
 #liblwgeom.a: $(SA_OBJS) $(NM_OBJS) $(SA_HEADERS)
 #ar rs liblwgeom.a $(SA_OBJS) $(NM_OBJS)
 
-liblwgeom.la: $(LT_OBJS) $(SA_HEADERS)
+liblwgeom.la: $(LT_OBJS)
        $(LIBTOOL) --tag=CC --mode=link $(CC) -rpath $(libdir) $(LT_OBJS) -release $(SOVER) $(LDFLAGS) -o $@
 
 maintainer-clean: clean