]> 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:33 +0000 (13:06 -0500)
commit22dd465d34f55b5a5b1790a5b5582fef9558d84b
treea13389929ea9f5f2a1959c7af668cfad400ebd96
parentfdacbf9e89267a3c3eb382b285bdb724ad5c6e44
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