]> granicus.if.org Git - postgresql/commitdiff
Properly build pg_recvlogical in the msvc build system
authorMagnus Hagander <magnus@hagander.net>
Thu, 24 Apr 2014 07:30:44 +0000 (09:30 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 24 Apr 2014 07:31:29 +0000 (09:31 +0200)
Michael Paquier

src/tools/msvc/Mkvcbuild.pm

index 308a4b47b998f1416c270afa843fa1568ab86bff..d06d6adf6ee4b43e40e25be38b1dc39f4e3666df 100644 (file)
@@ -375,6 +375,11 @@ sub mkvcbuild
        $pgreceivexlog->AddFile('src\bin\pg_basebackup\pg_receivexlog.c');
        $pgreceivexlog->AddLibrary('ws2_32.lib');
 
+       my $pgrecvlogical= AddSimpleFrontend('pg_basebackup', 1);
+       $pgrecvlogical->{name} = 'pg_recvlogical';
+       $pgrecvlogical->AddFile('src\bin\pg_basebackup\pg_recvlogical.c');
+       $pgrecvlogical->AddLibrary('ws2_32.lib');
+
        my $pgconfig = AddSimpleFrontend('pg_config');
 
        my $pgcontrol = AddSimpleFrontend('pg_controldata');