Skip to content

Commit bc55495

Browse files
committed
Merge pull request #23 from genehack/fix-build-22
Fix build [#22]
2 parents 0a9e56b + fdf5180 commit bc55495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ my $orig = \&ExtUtils::MM_Unix::c_o;
224224
foreach (@rv) {
225225
# add c++0x flag only for cpp files
226226
# otherwise XS perl handshake fails
227-
s/\$\*\.c(pp|xx)(?=\n|\Z)/-xc++ -std=c++0x \$\*\.c$1/g
227+
s/\$\*\.c(pp|xx)\s*(?=\n|\r|\Z)/-xc++ -std=c++0x \$\*\.c$1/g
228228
}
229229
return @rv;
230230
};

0 commit comments

Comments
 (0)