This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Missing dependency in XS::APItest’s Makefile
authorFather Chrysostomos <sprout@cpan.org>
Thu, 4 Oct 2012 19:45:45 +0000 (12:45 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 26 Nov 2012 01:12:42 +0000 (17:12 -0800)
When core_or_not.inc is modified, core.c and notcore.c should
be recompiled.

ext/XS-APItest/Makefile.PL

index 5e2955b..031ce8a 100644 (file)
@@ -14,6 +14,8 @@ WriteMakefile(
     realclean => {FILES        => 'const-c.inc const-xs.inc'},
     ($Config{gccversion} && $Config{d_attribute_deprecated} ?
       (CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : ()),
+    depend => { 'core.o' => 'core_or_not.inc',
+               'notcore.o' => 'core_or_not.inc' },
 );
 
 my @names = (qw(HV_DELETE HV_DISABLE_UVAR_XKEY HV_FETCH_ISSTORE