pgsql: Unlink static libraries before rebuilding them. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Unlink static libraries before rebuilding them.
Date
Msg-id E1YS8UK-00059v-8t@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/424793fa5dc631254f69d5ee8d7d7d6de2976f60

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Move memory context callback declarations into palloc.h.
Next
From: Noah Misch
Date:
Subject: pgsql: Unlink static libraries before rebuilding them.