This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Correct the paths for the nonxs_ext targets, following the ext flattening.
authorNicholas Clark <nick@ccl4.org>
Thu, 26 Feb 2009 08:34:36 +0000 (09:34 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 26 Feb 2009 08:37:37 +0000 (09:37 +0100)
(Static and dynamic each build a target in lib/auto, which was unchanged.
nonxs_ext use a target inside the extension's directory, which was moved, but
Makefile.SH had not been updated to reflect this.)

Makefile.SH

index 240bfa9..0b80039 100644 (file)
@@ -205,7 +205,8 @@ done
 
 nonxs_list=' '
 for f in $nonxs_ext; do
-    nonxs_list="$nonxs_list ext/$f/pm_to_blib"
+    p=`echo "$f" | tr / -`
+    nonxs_list="$nonxs_list ext/$p/pm_to_blib"
 done
 
 dtrace_h=''