summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-06-07 10:15:01 +0200
committerBjoern Jacke <bj@sernet.de>2012-06-07 12:49:17 +0200
commit8778e411825ab8fe20fc6b60475615f3540ca7c3 (patch)
treebcd3acfe548e977d56b70317801f6495c3225c1e /source3/wscript
parent0dd4363bb2d7d6dd361f859c38c0611b4c98a71d (diff)
downloadsamba-8778e411825ab8fe20fc6b60475615f3540ca7c3.tar.gz
build: fix typo that breaks the HP-UX build
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 12:49:17 CEST 2012 on sn-devel-104
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 a9368b284cd..02773c03500 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