From 7ffb781e81ef15bed730a8c2c3ddc4280485ee9f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Oct 2010 17:44:32 +1100 Subject: waf-python: make the pyext flag add the pyembed features for libraries this is rather strange, but we get build errors without it. There may be a bug in the waf python tool, or I may misunderstand how to use it --- buildtools/wafsamba/wafsamba.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'buildtools/wafsamba') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 280ffd6ee2..7108715555 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -184,7 +184,9 @@ def SAMBA_LIBRARY(bld, libname, source, features = 'cc cshlib symlink_lib install_lib' if target_type == 'PYTHON': features += ' pyext' - if pyembed: + if pyext or pyembed: + # this is quite strange. we should add pyext feature for pyext + # but that breaks the build. This may be a bug in the waf python tool features += ' pyembed' if abi_file: features += ' abi_check' -- cgit