10000 Prevent CPAN testers from reporting errors on platforms other than MS… · perl-libwin32/win32-netadmin@04188c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 04188c1

Browse files
committed
Prevent CPAN testers from reporting errors on platforms other than MSWin32 and cygwin
1 parent b544057 commit 04188c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.PL

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
use strict;
22
use ExtUtils::MakeMaker;
33

4+
unless ($^O eq "MSWin32" || $^O eq "cygwin") {
5+
die "OS unsupported\n";
6+
}
7+
48
my @libs;
59
push @libs, '-L/lib/w32api -lnetapi32' if $^O eq "cygwin";
610

0 commit comments

Comments
 (0)
0