Skip to content

Commit 33a7cee

Browse files
authored
Merge pull request #26 from xenu/xenu/remove-old-code
Remove old code
2 parents 2e22828 + ee7e7fc commit 33a7cee

File tree

2 files changed

+122
-365
lines changed

2 files changed

+122
-365
lines changed

Makefile.PL

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ my %param = (
1313
INSTALLDIRS => ($] >= 5.008004 && $] < 5.012 ? 'perl' : 'site'),
1414
);
1515
$param{NO_META} = 1 if eval "$ExtUtils::MakeMaker::VERSION" >= 6.10_03;
16-
$param{LIBS} = ['-L/lib/w32api -lole32 -lversion'] if $^O eq "cygwin";
16+
17+
if ($^O eq 'cygwin') {
18+
$param{LIBS} = ['-L/lib/w32api -lole32 -lversion -luserenv -lnetapi32']
19+
}
20+
else {
21+
$param{LIBS} = ['-luserenv']
22+
}
1723

1824
WriteMakefile(%param);

0 commit comments

Comments
 (0)