]> 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:07:00 +0000 (13:07 -0500)
commitc3b0baf910f3428df8b30144c1e4034c04ebe495
tree685ad18e10a4c47aab4365facae0f6a49c04c08c
parent6f419958a61119c2f17e0a84a30e920050c843db
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