summaryrefslogtreecommitdiff
path: root/libcli/security/wscript_build
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-01-11 17:39:25 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-14 16:39:32 +1100
commit012e570416de8b48f89216ac1e6b0bba2357ac39 (patch)
treeb28ecc12faf0648442f430949c061a5438ea2a54 /libcli/security/wscript_build
parent5322567530d588d0f420eeb720c9a2e3225d6007 (diff)
downloadsamba-012e570416de8b48f89216ac1e6b0bba2357ac39.tar.gz
libcli/security Add python bindings for se_access_check
Andrew Bartlett
Diffstat (limited to 'libcli/security/wscript_build')
-rw-r--r--libcli/security/wscript_build6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/security/wscript_build b/libcli/security/wscript_build
index 4b3f46ebcfe..ca60a44a4c2 100644
--- a/libcli/security/wscript_build
+++ b/libcli/security/wscript_build
@@ -7,3 +7,9 @@ bld.SAMBA_LIBRARY('security',
deps='talloc ndr NDR_SECURITY'
)
+if getattr(bld.env, '_SAMBA_BUILD_', 0) == 4:
+ bld.SAMBA_PYTHON('pysecurity',
+ source='pysecurity.c',
+ deps='security',
+ realname='samba/security.so'
+ )