summaryrefslogtreecommitdiff
path: root/lib/ExtUtils
diff options
context:
space:
mode:
authorPaul Green <Paul.Green@stratus.com>2002-04-01 09:11:00 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-01 19:14:18 +0000
commit993efc3202899d2173273b9bc2bb586f5474abb4 (patch)
treef0fdcf3a7724b106c3f042860f62978c8d47a01d /lib/ExtUtils
parent4c79aee67645b3034181e6f944790f4291f07cbd (diff)
downloadperl-993efc3202899d2173273b9bc2bb586f5474abb4.tar.gz
VOS-only change to lib/ExtUtils/MM_Unix.pm
Message-Id: <200204011911.OAA06024@mailhub1.stratus.com> p4raw-id: //depot/perl@15665
Diffstat (limited to 'lib/ExtUtils')
-rw-r--r--lib/ExtUtils/MM_Unix.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index c6c2c93dbc..ae0251d26d 100644
--- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm
@@ -488,6 +488,9 @@ sub constants {
/ ) {
next unless defined $self->{$tmp};
+# VOS pathnames can have sharp signs in them; escape them so
+# make doesn't think it is a comment-start character.
+ if ($Is_VOS) {$self->{$tmp} =~ s/#/\\#/g};
push @m, "$tmp = $self->{$tmp}\n";
}