git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: enable nothreads workaround only with WAF_NOTHREADS=1
[samba.git]
/
buildtools
/
wafsamba
/
wafsamba.py
diff --git
a/buildtools/wafsamba/wafsamba.py
b/buildtools/wafsamba/wafsamba.py
index 5a48cb4ba1bf8d7bae2fead0c7e074b5a605e6ea..a7258d3e9efb2ffd2fa1ce8019005dbf1cf89a3f 100644
(file)
--- a/
buildtools/wafsamba/wafsamba.py
+++ b/
buildtools/wafsamba/wafsamba.py
@@
-19,7
+19,10
@@
from samba_python import *
from samba_deps import *
from samba_bundled import *
import samba_conftests
-import nothreads
+
+# some systems have broken threading in python
+if os.environ.get('WAF_NOTHREADS') == '1':
+ import nothreads
LIB_PATH="shared"