summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Johnson <paul@pjcj.net>1998-07-21 13:04:27 +0100
committerGurusamy Sarathy <gsar@cpan.org>1998-07-22 06:39:22 +0000
commit3ab837902b90d68d5480fcce2f829ca8ed139e0d (patch)
treeef4159b2396f03e7ad2477d16680457f88cb2336
parent386acf993e4765f33c76310e325b49bb66186a57 (diff)
downloadperl-3ab837902b90d68d5480fcce2f829ca8ed139e0d.tar.gz
allow extensions to be specified as paths
Message-Id: <19980721120427.F903@west-tip.transeda.com> Subject: [PATCH] 5.004_75 Embed and static extensions p4raw-id: //depot/perl@1624
-rw-r--r--lib/ExtUtils/Embed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm
index fe545a8769..e41ca40e66 100644
--- a/lib/ExtUtils/Embed.pm
+++ b/lib/ExtUtils/Embed.pm
@@ -201,7 +201,7 @@ sub ldopts {
my($mod,@ns,$root,$sub,$extra,$archive,@archives);
print STDERR "Searching (@path) for archives\n" if $Verbose;
foreach $mod (@mods) {
- @ns = split('::', $mod);
+ @ns = split(/::|\/|\\/, $mod);
$sub = $ns[-1];
$root = $MM->catdir(@ns);