Skip to content

Commit

Permalink
Renaming check_random.pl to avoid installation. Thanks to ppisar for …
Browse files Browse the repository at this point in the history
…GH#8
  • Loading branch information
david-dick committed Jan 3, 2025
1 parent 2366020 commit 41c98ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Changes
check_random.pl
check_random.inc
MANIFEST
Makefile.PL
README
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if ($^O eq 'MSWin32') {
$optional{C} = [];
$optional{MYEXTLIB} = q[];
} else {
eval `cat ./check_random.pl`;
eval `cat ./check_random.inc`;
if (($optional{DEFINE}) && ($optional{DEFINE} eq '-DNO_COMPILER_FOUND')) {
# figured this out from ExtUtils/MM_Unix.pm in has_link_code
$optional{OBJECT} = q[];
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions t/getrandom.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use warnings;
my %optional;
if ($^O eq 'MSWin32') {
} else {
eval `cat ./check_random.pl`;
eval `cat ./check_random.inc`;
if ($optional{DEFINE}) {
diag("check_random.pl produced the flag of $optional{DEFINE}");
diag("check_random.inc produced the flag of $optional{DEFINE}");
}
}

Expand Down

0 comments on commit 41c98ca

Please sign in to comment.