summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-05-16 11:48:02 +0200
committerJeremy Allison <jra@samba.org>2014-05-22 21:05:15 +0200
commit469e2fc36cea3bdfcd1ce983737b9a6148397237 (patch)
treefdcf77182c1899e0250f575fda90bd56c86893c8 /wscript
parent1672643e4498c96d2b36d8bd608644c885e01138 (diff)
downloadsamba-469e2fc36cea3bdfcd1ce983737b9a6148397237.tar.gz
wscript: set conf.env.replace_add_global_pthread = True
In Samba we currently add PTHREAD CFLAGS/LDFLAGS globally. The following changes will move the configure checks to lib/replace and the the default of adding the flags globally will change there. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 80587ef349f..58af180d887 100644
--- a/wscript
+++ b/wscript
@@ -96,6 +96,7 @@ def configure(conf):
conf.ADD_EXTRA_INCLUDES('#include/public #source4 #lib #source4/lib #source4/include #include #lib/replace')
+ conf.env.replace_add_global_pthread = True
conf.RECURSE('lib/replace')
conf.find_program('perl', var='PERL', mandatory=True)