]> 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:17 +0000 (13:07 -0500)
commit1c966854b241f0df77bec24612142e7ad7fc9e38
tree4a13b60068bc4c179b93772d45150071810f3dbf
parent5c8dabecdb2e8324436e9c6a5a98fc3162743cb1
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