From 70f57cf3d7848a778486e96266ed3d036d114b63 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 25 May 2015 16:38:57 +0000 Subject: [PATCH] It's the object files that depend on headers, not the library git-svn-id: http://svn.osgeo.org/postgis/trunk@13552 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liblwgeom/Makefile.in b/liblwgeom/Makefile.in index fb9824601..2fa4f255b 100644 --- a/liblwgeom/Makefile.in +++ b/liblwgeom/Makefile.in @@ -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 -- 2.50.1