Skip to content

Commit 0e33f21

Browse files
committed
Fix watchdog dependency detection
1 parent d6dd677 commit 0e33f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ my %watchers = (
447447
# check if dependency is wanted and/or available
448448
if (exists $watchers{$^O} && ! $ENV{PERL_FNS_NO_OPT}) {
449449
if ($native_watcher) { $watchdeps = $watchers{$^O}; }
450-
elsif (!eval { require $watchers{$^O}->[0]; return 1; }) {
450+
elsif (!eval "require $watchers{$^O}->[0]; return 1;") {
451451
warn "Consider installing $watchers{$^O}->[0]\n";
452452
warn "Or configure with `--native-watcher` option\n";
453453
}

0 commit comments

Comments
 (0)