Skip to content

Commit

Permalink
Do not compile on Win32 (no need)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-dick committed Dec 29, 2024
1 parent 51724ba commit 3573536
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ use ExtUtils::MakeMaker;


my %optional;
if ($^O ne 'MSWin32') {
if ($^O eq 'MSWin32') {
$optional{OBJECT} = q[];
$optional{C} = [];
$optional{MYEXTLIB} = q[];
} else {
eval `cat ./check_random.pl`;
if (($optional{DEFINE}) && ($optional{DEFINE} eq '-DNO_COMPILER_FOUND')) {
# figured this out from ExtUtils/MM_Unix.pm in has_link_code
Expand Down

0 comments on commit 3573536

Please sign in to comment.