summaryrefslogtreecommitdiff
path: root/ext/DynaLoader
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2007-03-01 00:47:30 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-03 09:39:55 +0000
commit5836a66f991ef91fc51cd23ed22af09c39c8e576 (patch)
treeca9189dae8bac0044f4a5544179c5a72b30265bf /ext/DynaLoader
parent5f40764fc08e4d85d4c2d5616305dde658446619 (diff)
downloadperl-5836a66f991ef91fc51cd23ed22af09c39c8e576.tar.gz
Don't copy DynaLoader.o unnecessarily
From: "Jerry D. Hedden" <jdhedden@yahoo.com> Message-ID: <566598.96493.qm@web30204.mail.mud.yahoo.com> p4raw-id: //depot/perl@30449
Diffstat (limited to 'ext/DynaLoader')
-rw-r--r--ext/DynaLoader/Makefile.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/DynaLoader/Makefile.PL b/ext/DynaLoader/Makefile.PL
index f76994ef22..b4c12fc270 100644
--- a/ext/DynaLoader/Makefile.PL
+++ b/ext/DynaLoader/Makefile.PL
@@ -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)
';
}