summaryrefslogtreecommitdiffstats
path: root/lib/krb5_wrap/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5_wrap/wscript_build')
-rw-r--r--lib/krb5_wrap/wscript_build23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/krb5_wrap/wscript_build b/lib/krb5_wrap/wscript_build
new file mode 100644
index 0000000..dd9fc08
--- /dev/null
+++ b/lib/krb5_wrap/wscript_build
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+
+add_deps = ''
+if bld.CONFIG_SET('SAMBA4_USES_HEIMDAL'):
+ add_deps = ' asn1'
+
+bld.SAMBA_LIBRARY('krb5samba',
+ source='''
+ krb5_samba.c
+ gss_samba.c
+ keytab_util.c
+ enctype_convert.c
+ krb5_errs.c
+ ''',
+ deps='''
+ samba-util
+ talloc
+ krb5
+ com_err
+ gssapi
+ ''' + add_deps,
+ private_library=True
+ )