mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Remove libpq.rc, use win32ver.rc for libpq
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.com
This commit is contained in:
@@ -250,8 +250,6 @@ sub mkvcbuild
|
||||
$libpq->AddLibrary('ws2_32.lib');
|
||||
$libpq->AddLibrary('wldap32.lib') if ($solution->{options}->{ldap});
|
||||
$libpq->UseDef('src/interfaces/libpq/libpqdll.def');
|
||||
$libpq->ReplaceFile('src/interfaces/libpq/libpqrc.c',
|
||||
'src/interfaces/libpq/libpq.rc');
|
||||
$libpq->AddReference($libpgcommon, $libpgport);
|
||||
|
||||
# The OBJS scraper doesn't know about ifdefs, so remove appropriate files
|
||||
|
Reference in New Issue
Block a user