s4-libcli: make LIBCLI_LDAP a private library
[abartlet/samba.git/.git] / source4 / libcli / ldap / wscript_build
index 62d6bf387a2a708921aa899e210b115ed4733d08..651e6cda6c0e0902f0afec9a6cb7c1837e4825de 100644 (file)
@@ -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
+                  )