pgsql: Link $(WIN32RES) into single-file modules only when PGFILEDESC i

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Link $(WIN32RES) into single-file modules only when PGFILEDESC i
Date: 2015-08-06 00:52:47
Message-ID: E1ZN9QN-0005oc-B4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c26170668c82eaaf28b6efbf76c5d1c206c27121

Modified Files
--------------
src/makefiles/Makefile.win32 | 8 +++++++-
src/makefiles/pgxs.mk | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2015-08-06 03:03:55 pgsql: docs: HTML-escape '>' in '=>' using HTML entities
Previous Message Andrew Dunstan 2015-08-05 20:25:44 pgsql: Allow pg_rewind tap tests to run with older File::Path versions