summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/credentials/wscript_build17
1 files changed, 9 insertions, 8 deletions
diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build
index d6f522f1a7..583ba0b70c 100644
--- a/source4/auth/credentials/wscript_build
+++ b/source4/auth/credentials/wscript_build
@@ -1,21 +1,22 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('CREDENTIALS',
- source='credentials.c',
- autoproto='credentials_proto.h',
- public_headers='credentials.h',
- deps='LIBCRYPTO errors events LIBCLI_AUTH security',
- )
+bld.SAMBA_LIBRARY('CREDENTIALS',
+ source='credentials.c',
+ autoproto='credentials_proto.h',
+ public_headers='credentials.h',
+ deps='LIBCRYPTO errors events LIBCLI_AUTH security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
+ private_library=True
+ )
bld.SAMBA_SUBSYSTEM('CREDENTIALS_KRB5',
source='credentials_krb5.c',
deps='KERBEROS_UTIL gssapi CREDENTIALS',
- public_deps='com_err KERBEROS',
+ public_deps='com_err authkrb5',
)
bld.SAMBA_SUBSYSTEM('CREDENTIALS_SECRETS',
source='credentials_secrets.c',
- deps='SECRETS CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb',
+ deps='CREDENTIALS_KRB5 CREDENTIALS_NTLM ldb samdb-common',
)
bld.SAMBA_SUBSYSTEM('CREDENTIALS_NTLM',