s4-libcli: make LIBCLI_LDAP a private library
authorAndrew Tridgell <tridge@samba.org>
Wed, 20 Oct 2010 21:30:55 +0000 (08:30 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2010 08:03:24 +0000 (19:03 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

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
+                  )