summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rwxr-xr-xsource3/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index a9368b284c..02773c0350 100755
--- a/source3/wscript
+++ b/source3/wscript
@@ -1340,7 +1340,7 @@ main() {
PTHREAD_CFLAGS='-D_THREAD_SAFE -pthread'
PTHREAD_LDFLAGS='-pthread'
if PTHREAD_LDFLAGS == 'error':
- if conf.CHECK_FUNC('pthread_attr_init'):
+ if conf.CHECK_FUNCS('pthread_attr_init'):
PTHREAD_CFLAGS='-D_REENTRANT'
PTHREAD_LDFLAGS='-lpthread'
# especially for HP-UX, where the CHECK_FUNC macro fails to test for