diff options
-rw-r--r-- | ext/SDBM_File/sdbm/Makefile.PL | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/SDBM_File/sdbm/Makefile.PL b/ext/SDBM_File/sdbm/Makefile.PL index 6003628247..7008e6d471 100644 --- a/ext/SDBM_File/sdbm/Makefile.PL +++ b/ext/SDBM_File/sdbm/Makefile.PL @@ -28,7 +28,7 @@ INST_STATIC = libsdbm$(LIB_EXT) } sub MY::top_targets { - ' + my $r = ' all :: static $(NOECHO) $(NOOP) @@ -38,10 +38,14 @@ config :: lint: lint -abchx $(LIBSRCS) +'; + $r .= ' # This is a workaround, the problem is that our old GNU make exports # variables into the environment so $(MYEXTLIB) is set in here to this # value which can not be built. sdbm/libsdbm.a: - true -'; + $(NOECHO) $(NOOP) +' unless $^O eq 'VMS'; + + return $r; } |