File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
t/lib/MakeMaker/Test/Setup Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,30 @@ SNIP
401401EOF
402402};
403403
404+ $label2files {subdirsskip3 } = +{
405+ %{ $label2files {subdirsskip } }, # make copy
406+ ' Other/Makefile.PL' => sprintf (
407+ $MAKEFILEPL ,
408+ ' Other' , ' Other.pm' , qq{ } ,
409+ <<'EOF' ,
410+ SKIP => [qw(all static static_lib dynamic dynamic_lib test_dynamic test)],
411+ clean => {'FILES' => 'libparser$(LIB_EXT)'},
412+ EOF
413+ ) . <<'EOF' ,
414+ sub MY::top_targets {
415+ my ($self) = @_;
416+ <<'SNIP' . $self->static_lib_pure_cmd('$(O_FILES)');
417+ test ::
418+ test_static:
419+ test_dynamic:
420+ all :: static
421+ static :: libparser$(LIB_EXT)
422+ libparser$(LIB_EXT): $(O_FILES)
423+ SNIP
424+ }
425+ EOF
426+ };
427+
404428my $XS_MULTI = $XS_OTHER ;
405429# check compiling from top dir still can include local
406430$XS_MULTI =~ s : (#include "XSUB.h"): $1 \n #include "header.h": ;
@@ -536,6 +560,7 @@ sub list_dynamic {
536560 [ ' xsbuild' , ' ' , ' ' ],
537561 [ ' subdirsskip' , ' ' , ' ' ],
538562 [ ' subdirsskip2' , ' ' , ' ' ],
563+ # [ 'subdirsskip3', '', '' ], # Defanged I'm unsure how to magic a fix for this.
539564 );
540565}
541566
You can’t perform that action at this time.
0 commit comments