diff options
Diffstat (limited to 'buildtools/wafsamba/samba_python.py')
-rw-r--r-- | buildtools/wafsamba/samba_python.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py index 7536250d0d..9a887a80a5 100644 --- a/buildtools/wafsamba/samba_python.py +++ b/buildtools/wafsamba/samba_python.py @@ -14,6 +14,7 @@ def SAMBA_PYTHON(bld, name, includes='', init_function_sentinal=None, local_include=True, + vars=None, enabled=True): '''build a python extension for Samba''' @@ -22,6 +23,8 @@ def SAMBA_PYTHON(bld, name, if init_function_sentinal is not None: cflags += '-DSTATIC_LIBPYTHON_MODULES=%s' % init_function_sentinal + source = bld.EXPAND_VARIABLES(source, vars=vars) + if realname is None: # a SAMBA_PYTHON target without a realname is just a # subsystem with needs_python=True |