Skip to content

Commit 13a9880

Browse files
committed
dynamic and static now dep from pure_nolink so test* need not dep from it.
1 parent 0a2bee0 commit 13a9880

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/ExtUtils/MM_Unix.pm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3645,14 +3645,14 @@ END
36453645
unless $tests or -f "test.pl" or @{$self->{DIR}};
36463646
push(@m, "\n");
36473647

3648-
push(@m, "test_dynamic :: pure_nolink dynamic\n");
3648+
push(@m, "test_dynamic :: dynamic\n");
36493649
push(@m, $self->test_via_harness('$(FULLPERLRUN)', '$(TEST_FILES)'))
36503650
if $tests;
36513651
push(@m, $self->test_via_script('$(FULLPERLRUN)', '$(TEST_FILE)'))
36523652
if -f "test.pl";
36533653
push(@m, "\n");
36543654

3655-
push(@m, "testdb_dynamic :: pure_nolink dynamic\n");
3655+
push(@m, "testdb_dynamic :: dynamic\n");
36563656
push(@m, $self->test_via_script('$(FULLPERLRUN) $(TESTDB_SW)',
36573657
'$(TEST_FILE)'));
36583658
push(@m, "\n");
@@ -3661,13 +3661,13 @@ END
36613661
push @m, "test_ : test_dynamic\n\n";
36623662

36633663
if ($self->needs_linking()) {
3664-
push(@m, "test_static :: pure_nolink static \$(MAP_TARGET)\n");
3664+
push(@m, "test_static :: static \$(MAP_TARGET)\n");
36653665
my $target = File::Spec->rel2abs('$(MAP_TARGET)');
36663666
my $command = qq{"$target" \$(MAP_PERLINC)};
36673667
push(@m, $self->test_via_harness($command, '$(TEST_FILES)')) if $tests;
36683668
push(@m, $self->test_via_script($command, '$(TEST_FILE)')) if -f "test.pl";
36693669
push(@m, "\n");
3670-
push(@m, "testdb_static :: pure_nolink static \$(MAP_TARGET)\n");
3670+
push(@m, "testdb_static :: static \$(MAP_TARGET)\n");
36713671
push(@m, $self->test_via_script("$command \$(TESTDB_SW)", '$(TEST_FILE)'));
36723672
push(@m, "\n");
36733673
} else {
@@ -3810,7 +3810,7 @@ sub top_targets {
38103810
push @m, $self->all_target, "\n" unless $self->{SKIPHASH}{'all'};
38113811

38123812
push @m, '
3813-
pure_all :: pure_nolink linkext
3813+
pure_all :: linkext
38143814
$(NOECHO) $(NOOP)
38153815
38163816
pure_nolink :: config pm_to_blib subdirs_pure_nolink

0 commit comments

Comments
 (0)