From 5694ba507cf3774f6f1d30bb2b584a5f28b88a4b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 8 Apr 2011 11:16:45 +1000 Subject: libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a library This reduces symbol duplication Andrew Bartlett --- libcli/ldap/wscript_build | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'libcli/ldap/wscript_build') 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' - ) - -- cgit