]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Unlink static libraries before rebuilding them.
authorNoah Misch <noah@leadboat.com>
Sun, 1 Mar 2015 18:05:23 +0000 (13:05 -0500)
committerNoah Misch <noah@leadboat.com>
Sun, 1 Mar 2015 18:08:48 +0000 (13:08 -0500)
commit6b61b641163a0cfea00360a357c1ff0aabfc1535
tree65969cf3294b55920099c1af208feb35062bb249
parent82e0d6eb519e2b35340c0195cfb3806f3663406a
Unlink static libraries before rebuilding them.

When the library already exists in the build directory, "ar" preserves
members not named on its command line.  This mattered when, for example,
a "configure" rerun dropped a file from $(LIBOBJS).  libpgport carried
the obsolete member until "make clean".  Back-patch to 9.0 (all
supported versions).
src/Makefile.shlib
src/port/Makefile