1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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>
This commit is contained in:
Stefan Metzmacher 2013-05-16 11:48:02 +02:00 committed by Jeremy Allison
parent 1672643e44
commit 469e2fc36c

View File

@ -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)