summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rw-r--r--libcli/ldap/wscript_build20
1 files changed, 6 insertions, 14 deletions
diff --git a/libcli/ldap/wscript_build b/libcli/ldap/wscript_build
index feab6510b9..63a2de17fe 100644
--- a/libcli/ldap/wscript_build
+++ b/libcli/ldap/wscript_build
@@ -1,17 +1,9 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_MESSAGE',
- source='ldap_message.c',
- public_deps='errors talloc ldb',
- public_headers='ldap_message.h ldap_errors.h',
- deps='samba-util asn1util'
+bld.SAMBA_LIBRARY('cli-ldap-common',
+ source='ldap_message.c ldap_ndr.c',
+ public_deps='errors talloc ldb',
+ public_headers='ldap_message.h ldap_errors.h',
+ deps='samba-util asn1util NDR_SECURITY tevent',
+ private_library=True
)
-
-
-bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_NDR',
- source='ldap_ndr.c',
- public_deps='errors talloc',
- public_headers='ldap_ndr.h',
- deps='samba-util ldb NDR_SECURITY tevent'
- )
-