DynaLoader doesn't build properly when $(DLSRC) changes
Gurusamy Sarathy [Fri, 17 Dec 1999 07:12:53 +0000 (07:12 +0000)]
(fix suggested by Hans Mulder)

p4raw-id: //depot/perl@4691

ext/DynaLoader/Makefile.PL

index fa01c35..e4493b4 100644 (file)
@@ -18,6 +18,7 @@ WriteMakefile(
 sub MY::postamble {
        '
 DynaLoader.xs: $(DLSRC)
+       $(RM_F) $@
        $(CP) $? $@
 
 # Perform very simple tests just to check for major gaffs.