summaryrefslogtreecommitdiff
path: root/libcli/ldap
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-08 11:16:45 +1000
committerAndrew Tridgell <tridge@samba.org>2011-04-13 11:47:36 +1000
commit5694ba507cf3774f6f1d30bb2b584a5f28b88a4b (patch)
tree8d3acf06c14d004551927c0f917455350e242ab6 /libcli/ldap
parent601835ee6db8952911216f8f7f02f5101dc3b269 (diff)
downloadsamba-5694ba507cf3774f6f1d30bb2b584a5f28b88a4b.tar.gz
samba-5694ba507cf3774f6f1d30bb2b584a5f28b88a4b.tar.bz2
samba-5694ba507cf3774f6f1d30bb2b584a5f28b88a4b.zip
libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a library
This reduces symbol duplication Andrew Bartlett
Diffstat (limited to 'libcli/ldap')
-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'
- )
-