ext/Hash/Util/Makefile.PL should not recurse to FieldHash's Makefile.PL
authorNicholas Clark <nick@ccl4.org>
Tue, 13 Jan 2009 17:08:36 +0000 (17:08 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 13 Jan 2009 17:11:00 +0000 (17:11 +0000)
*nix, VMS and Win32 all know how to (and have to) call the latter directly.
As is, targets in ext/Hash/Util/FieldHash get called twice, which may result
in race conditions, and certainly messes up make clean; make distclean;

ext/Hash/Util/Makefile.PL

index 7b7c166..eee40c5 100644 (file)
@@ -8,7 +8,7 @@ WriteMakefile(
     MAN3PODS        => {},  # Pods will be built by installman.
     NAME            => "Hash::Util",
     DEFINE          => "-DPERL_EXT",
-    DIR             => ['FieldHash'],
+    NORECURS        => 1, # Hash::Util::FieldHash is treated as distinct.
 );
 
 package MY;