From ec7bb906db95e77b78310f5e2c3e584e5d6de59c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Oct 2010 15:25:44 +1100 Subject: waf: added pyext option to SAMBA_LIBRARY() Pair-Programmed-With: Andrew Bartlett --- buildtools/wafsamba/wafsamba.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 4cb0402718..9927aef649 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -108,6 +108,7 @@ def SAMBA_LIBRARY(bld, libname, source, install_path=None, install=True, pyembed=False, + pyext=False, target_type='LIBRARY', bundled_extension=True, link_name=None, @@ -151,7 +152,7 @@ def SAMBA_LIBRARY(bld, libname, source, autoproto = autoproto, depends_on = depends_on, hide_symbols = hide_symbols, - pyext = (target_type == "PYTHON"), + pyext = pyext or (target_type == "PYTHON"), local_include = local_include) if BUILTIN_LIBRARY(bld, libname): -- cgit