Thread: pgsql: Unlink static libraries before rebuilding them.

pgsql: Unlink static libraries before rebuilding them.

From
Noah Misch
Date:
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).

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/585f16dc80337a2ee7b0e823c7ff42a9e10d1d88

Modified Files
--------------
src/Makefile.shlib  |    3 +++
src/common/Makefile |    2 ++
src/port/Makefile   |    2 ++
3 files changed, 7 insertions(+)