We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e40da4 commit 2b8a795Copy full SHA for 2b8a795
src/tools/msvc/Project.pm
@@ -3,7 +3,7 @@ package Project;
3
#
4
# Package that encapsulates a Visual C++ project file generation
5
6
-# $PostgreSQL: pgsql/src/tools/msvc/Project.pm,v 1.18 2008/02/19 16:15:14 mha Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Project.pm,v 1.19 2008/04/15 16:22:36 adunstan Exp $
7
8
use Carp;
9
use strict;
@@ -259,7 +259,8 @@ sub AddDir
259
}
260
261
# Match rules that pull in source files from different directories
262
- my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$};
+ # example: pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
263
+ my $replace_re = qr{^([^:\n\$]+\.c)\s*:\s*(?:%\s*: )?\$(\([^\)]+\))\/(.*)\/[^\/]+$}m;
264
while ($mf =~ m{$replace_re}m)
265
{
266
my $match = $1;
0 commit comments