]> granicus.if.org Git - postgresql/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:06:39 +0000 (13:06 -0500)
commit585f16dc80337a2ee7b0e823c7ff42a9e10d1d88
tree7153fa67a1ae572a71de1c8856fd0a154589bb7e
parent1b558782b7156bac9b4012ccee5338f1ccd236d9
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/common/Makefile
src/port/Makefile