build: fix typo that breaks the HP-UX build
authorBjörn Jacke <bj@sernet.de>
Thu, 7 Jun 2012 08:15:01 +0000 (10:15 +0200)
committerBjoern Jacke <bj@sernet.de>
Thu, 7 Jun 2012 10:49:17 +0000 (12:49 +0200)
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jun  7 12:49:17 CEST 2012 on sn-devel-104

source3/wscript

index a9368b284cdc63ddb3e1acecad83e405c5a925de..02773c0350044c528f61945a2be3c2f165e7f7a9 100755 (executable)
@@ -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