This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
6c0ec79a2e9c445ac9999df2 failed to build from distclean - also tweak make_ext.pl
authorNicholas Clark <nick@ccl4.org>
Thu, 26 Feb 2009 22:31:39 +0000 (22:31 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 26 Feb 2009 22:31:39 +0000 (22:31 +0000)
make_ext.pl

index f74124c..d0dcfbf 100644 (file)
@@ -82,6 +82,9 @@ foreach (@extspec) {
     } elsif (s{^ext/}{}) {
        # Remove ext/ prefix and /pm_to_blib suffix
        s{/pm_to_blib$}{};
+       # Targets are given as files on disk, but the extension spec is still
+       # written using /s for each ::
+       tr!-!/!;
     } elsif (s{::}{\/}g) {
        # Convert :: to /
     } else {