Skip to content

Commit a0c63a7

Browse files
mohawk2bingos
authored andcommitted
test, fix emitting dynamic if SKIP (#266)
1 parent eb4ae57 commit a0c63a7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

lib/ExtUtils/MakeMaker.pm

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,14 +1358,10 @@ sub selfdocument {
13581358
13591359
# here so even if top_targets is overridden, these will still be defined
13601360
# gmake will silently still work if any are .PHONY-ed but nmake won't
1361-
static ::
1362-
$(NOECHO) $(NOOP)
1363-
1364-
dynamic ::
1365-
$(NOECHO) $(NOOP)
13661361
EOF
13671362
push @m, join "\n", map "$_ ::\n\t\$(NOECHO) \$(NOOP)\n",
13681363
# config is so manifypods won't puke if no subdirs
1364+
grep !$self->{SKIPHASH}{$_},
13691365
qw(static dynamic config);
13701366
join "\n", @m;
13711367
}

t/recurs.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ static :: libfcrypt$(LIB_EXT)
163163
164164
libfcrypt$(LIB_EXT) :
165165
$(TOUCH) libfcrypt$(LIB_EXT)
166+
167+
dynamic :
168+
$(NOOP)
166169
';
167170
}
168171
EOF

0 commit comments

Comments
 (0)