summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-10-21 15:25:44 +1100
committerAndrew Tridgell <tridge@samba.org>2010-10-21 19:03:26 +1100
commitec7bb906db95e77b78310f5e2c3e584e5d6de59c (patch)
treee67b78f2edc9ded3a1a857b3d8664a6c97f791a8 /buildtools/wafsamba
parentf7aca49e20df34e463f7447d02bc11f6d2095cf9 (diff)
downloadsamba-ec7bb906db95e77b78310f5e2c3e584e5d6de59c.tar.gz
samba-ec7bb906db95e77b78310f5e2c3e584e5d6de59c.tar.bz2
samba-ec7bb906db95e77b78310f5e2c3e584e5d6de59c.zip
waf: added pyext option to SAMBA_LIBRARY()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py3
1 files changed, 2 insertions, 1 deletions
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):