mirror of https://github.com/postgres/postgres
For historical reasons, libpq used a separate libpq.rc file for the Windows builds while all other components use a common file win32ver.rc. With a bit of tweaking, the libpq build can also use the win32ver.rc file. This removes a bit of duplicative code. Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://www.postgresql.org/message-id/flat/ad505e61-a923-e114-9f38-9867d161073f@2ndquadrant.compull/49/head
parent
ac5bdf6261
commit
16a4a3d59c
@ -1,5 +1,4 @@ |
||||
/exports.list |
||||
/libpq.rc |
||||
# .c files that are symlinked in from elsewhere |
||||
/encnames.c |
||||
/wchar.c |
||||
|
||||
@ -1,31 +0,0 @@ |
||||
#include <winver.h> |
||||
|
||||
VS_VERSION_INFO VERSIONINFO |
||||
FILEVERSION 13,0,0,0 |
||||
PRODUCTVERSION 13,0,0,0 |
||||
FILEFLAGSMASK 0x3fL |
||||
FILEFLAGS 0 |
||||
FILEOS VOS__WINDOWS32 |
||||
FILETYPE VFT_DLL |
||||
FILESUBTYPE 0x0L |
||||
BEGIN |
||||
BLOCK "StringFileInfo" |
||||
BEGIN |
||||
BLOCK "040904B0" |
||||
BEGIN |
||||
VALUE "CompanyName", "\0" |
||||
VALUE "FileDescription", "PostgreSQL Access Library\0" |
||||
VALUE "FileVersion", "13.0\0" |
||||
VALUE "InternalName", "libpq\0" |
||||
VALUE "LegalCopyright", "Copyright (C) 2020\0" |
||||
VALUE "LegalTrademarks", "\0" |
||||
VALUE "OriginalFilename", "libpq.dll\0" |
||||
VALUE "ProductName", "PostgreSQL\0" |
||||
VALUE "ProductVersion", "13.0\0" |
||||
END |
||||
END |
||||
BLOCK "VarFileInfo" |
||||
BEGIN |
||||
VALUE "Translation", 0x409, 1200 |
||||
END |
||||
END |
||||
Loading…
Reference in new issue