From 6c4d96adfe2ae2125887e0beb531a762959f59f6 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Sun, 18 Apr 2021 08:46:11 +0900 Subject: [PATCH] Typo --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index 548ca38..4f28a08 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -262,7 +262,7 @@ if ( $^O eq 'cygwin') { if ( $Config{d_usleep} || $Config{osname} =~ m/linux/ ) { push @CC_DEFINE, '-DHAVE_USLEEP=1'; } -if ( !$Config{usethreads} and $Config{libs} !~ /pthreads/ ) { +if ( !$Config{usethreads} and $Config{libs} !~ /pthread/ ) { push @CC_DEFINE, '-DTHREADSAFE=0'; } if ($^O eq 'hpux' and $Config{osvers} <= 10.20) {