waf: Stop automaticaly changing dashes to underscores in library names.
[sfrench/samba-autobuild/.git] / source4 / libcli / ldap / wscript_build
index 3ed3627dc190500ce04d9149a10a68f2185dd1ad..a7b3717543cbd0c1445bf1e72117362d1ca5f5f8 100644 (file)
@@ -1,8 +1,11 @@
-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='ldap.h:ldap-util.h',
-       deps='LIBCLI_COMPOSITE samba_socket NDR_SAMR LIBTLS LIBCLI_LDAP_NDR LIBNDR LP_RESOLVE gensec LIBCLI_LDAP_MESSAGE'
-       )
+#!/usr/bin/env python
+
+bld.SAMBA_LIBRARY('cli-ldap',
+                  source='ldap_client.c ldap_bind.c ldap_ildap.c ldap_controls.c',
+                  autoproto='ldap_proto.h',
+                  public_deps='errors tevent LIBPACKET',
+                  public_headers='libcli_ldap.h:ldap-util.h',
+                  deps='LIBCLI_COMPOSITE samba_socket NDR_SAMR LIBTLS LIBCLI_LDAP_NDR ndr LP_RESOLVE gensec LIBCLI_LDAP_MESSAGE',
+                  private_library=True
+                  )