summaryrefslogtreecommitdiff
path: root/libcli/security/wscript_build
diff options
context:
space:
mode:
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 4b3f46ebcf..ca60a44a4c 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'
+ )