Don't copy DynaLoader.o unnecessarily
Jerry D. Hedden [Thu, 1 Mar 2007 08:47:30 +0000 (00:47 -0800)]
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <566598.96493.qm@web30204.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30449

ext/DynaLoader/Makefile.PL

index f76994e..b4c12fc 100644 (file)
@@ -34,8 +34,10 @@ test-xs:
 
 sub MY::static {
        '
-static :: $(FIRST_MAKEFILE) $(OBJECT)
+$(PERL_SRC)/$(OBJECT) : $(FIRST_MAKEFILE) $(OBJECT)
        $(RM_RF) $(PERL_SRC)/$(OBJECT)
        $(CP) $(OBJECT) $(PERL_SRC)/$(OBJECT)
+
+static :: $(PERL_SRC)/$(OBJECT)
 ';
 }