Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12bc72d

Browse files
committed
Properly support multi-line entires (such as OBJS=) when building
PROGRAM, not just MODULE, in contrib.
1 parent10d66ac commit12bc72d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Mkvcbuild;
33
#
44
# Package that generates build files for msvc build
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.55 2010/05/1313:40:03 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.56 2010/05/1315:56:22 mha Exp $
77
#
88
use Carp;
99
use Win32;
@@ -515,7 +515,8 @@ sub AddContrib
515515
elsif ($mf =~/^PROGRAM\s*=\s*(.*)$/mg)
516516
{
517517
my$proj =$solution->AddProject($1,'exe','contrib');
518-
$mf =~/^OBJS\s*=\s*(.*)$/gm || croak"Could not find objects in MODULE_big for$n\n";
518+
$mf =~s{\\\s*[\r\n]+}{}mg;
519+
$mf =~/^OBJS\s*=\s*(.*)$/gm || croak"Could not find objects in PROGRAM for$n\n";
519520
my$objs =$1;
520521
while ($objs =~/\b([\w-]+\.o)\b/g)
521522
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp