summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/ldap/wscript_build15
1 files changed, 8 insertions, 7 deletions
diff --git a/source4/libcli/ldap/wscript_build b/source4/libcli/ldap/wscript_build
index 62d6bf387a..651e6cda6c 100644
--- a/source4/libcli/ldap/wscript_build
+++ b/source4/libcli/ldap/wscript_build
@@ -1,10 +1,11 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP',
- source='ldap_client.c ldap_bind.c ldap_ildap.c ldap_controls.c',
- autoproto='ldap_proto.h',
- public_deps='LIBSAMBA-ERRORS tevent LIBPACKET',
- public_headers='libcli_ldap.h:ldap-util.h',
- deps='LIBCLI_COMPOSITE samba_socket NDR_SAMR LIBTLS LIBCLI_LDAP_NDR LIBNDR LP_RESOLVE gensec LIBCLI_LDAP_MESSAGE'
- )
+bld.SAMBA_LIBRARY('LIBCLI_LDAP',
+ source='ldap_client.c ldap_bind.c ldap_ildap.c ldap_controls.c',
+ autoproto='ldap_proto.h',
+ public_deps='LIBSAMBA-ERRORS tevent LIBPACKET',
+ public_headers='libcli_ldap.h:ldap-util.h',
+ deps='LIBCLI_COMPOSITE samba_socket NDR_SAMR LIBTLS LIBCLI_LDAP_NDR LIBNDR LP_RESOLVE gensec LIBCLI_LDAP_MESSAGE',
+ private_library=True
+ )