mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Try to fix msvc build for recent initdb changes.
This commit is contained in:
parent
2ffc0e8849
commit
041a8b37f5
@ -5,7 +5,7 @@
|
||||
# Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||
# Portions Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
# $PostgreSQL: pgsql/src/bin/initdb/Makefile,v 1.54 2007/10/13 20:18:41 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/bin/initdb/Makefile,v 1.55 2007/10/13 22:55:38 tgl Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@ -30,7 +30,7 @@ initdb: $(OBJS)
|
||||
encnames.c: % : $(top_srcdir)/src/backend/utils/mb/%
|
||||
rm -f $@ && $(LN_S) $< .
|
||||
|
||||
pqsignal.c: % : $(libpq_srcdir)/%
|
||||
pqsignal.c: % : $(top_srcdir)/src/interfaces/libpq/%
|
||||
rm -f $@ && $(LN_S) $< .
|
||||
|
||||
install: all installdirs
|
||||
|
@ -3,7 +3,7 @@ package Mkvcbuild;
|
||||
#
|
||||
# Package that generates build files for msvc build
|
||||
#
|
||||
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.21 2007/10/03 13:43:24 mha Exp $
|
||||
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.22 2007/10/13 22:55:38 tgl Exp $
|
||||
#
|
||||
use Carp;
|
||||
use Win32;
|
||||
@ -176,7 +176,8 @@ sub mkvcbuild
|
||||
$pgregress_ecpg->AddReference($libpgport);
|
||||
|
||||
# src/bin
|
||||
my $initdb = AddSimpleFrontend('initdb', 1);
|
||||
my $initdb = AddSimpleFrontend('initdb');
|
||||
$initdb->AddIncludeDir('src\interfaces\libpq');
|
||||
$initdb->AddLibrary('wsock32.lib ws2_32.lib');
|
||||
|
||||
my $pgconfig = AddSimpleFrontend('pg_config');
|
||||
|
Loading…
Reference in New Issue
Block a user