]> granicus.if.org Git - postgresql/commit
Link $(WIN32RES) into single-file modules only when PGFILEDESC is set.
authorNoah Misch <noah@leadboat.com>
Thu, 6 Aug 2015 00:43:07 +0000 (20:43 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 6 Aug 2015 00:43:07 +0000 (20:43 -0400)
commitc26170668c82eaaf28b6efbf76c5d1c206c27121
tree98e88c7b9bbb281243ee572e2db7f204f037b437
parent7c29764a354a0e7deb3c28e1d5c38ff6662ee3f9
Link $(WIN32RES) into single-file modules only when PGFILEDESC is set.

Commit 0ffc201a51395ca71fe429ef86c872850a5850ee included this object
unconditionally.  Being unprepared for that, most external, single-file
modules failed to build.  This better aligns the GNU make build system
with the heuristic in the MSVC build's Project::AddDirResourceFile().
In-tree, installed modules set PGFILEDESC, so they will see no change.
Also, under PGXS, omit the nonfunctioning rule to build win32ver.rc.
Back-patch to 9.5, where the aforementioned commit first appeared.
src/makefiles/Makefile.win32
src/makefiles/pgxs.mk