From: Paul Johnson Date: Tue, 21 Jul 1998 12:04:27 +0000 (+0100) Subject: allow extensions to be specified as paths X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3ab837902b90d68d5480fcce2f829ca8ed139e0d;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm index fe545a8..e41ca40 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);