From ec7bb906db95e77b78310f5e2c3e584e5d6de59c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Oct 2010 15:25:44 +1100 Subject: [PATCH] waf: added pyext option to SAMBA_LIBRARY() Pair-Programmed-With: Andrew Bartlett --- buildtools/wafsamba/wafsamba.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 4cb0402718e..9927aef649f 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): -- 2.34.1