summaryrefslogtreecommitdiff
path: root/libcli/security/wscript_build
blob: ca60a44a4c22d8e34825075ffdbccd2b7dcee3d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python


bld.SAMBA_LIBRARY('security',
                  source='dom_sid.c display_sec.c secace.c secacl.c security_descriptor.c sddl.c privileges.c security_token.c access_check.c object_tree.c create_descriptor.c util_sid.c',
                  private_library=True,
                  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'
                     )