summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-11 15:09:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-11 15:13:16 +0000
commit9d2e777e18fda6489c20c96f4c09fc41f92d7727 (patch)
treeda67f3a2258e9d440fcaec21894da8d390fe9760 /source4
parent484939db0fb789c43181cf1df6a6f66753fd067e (diff)
downloadsamba-9d2e777e18fda6489c20c96f4c09fc41f92d7727.tar.gz
samba-9d2e777e18fda6489c20c96f4c09fc41f92d7727.tar.xz
samba-9d2e777e18fda6489c20c96f4c09fc41f92d7727.zip
ldb: Build ildap module as shared object.
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/wscript10
1 files changed, 3 insertions, 7 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 67b25b4545d..9246fbe1632 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -77,21 +77,20 @@ def build(bld):
ldb_attributes.c attrib_handlers.c ldb_controls.c qsort.c''')
if s4_build:
- builtin_ildap = not bld.CONFIG_SET('USING_SYSTEM_LDB')
# this is only in the s4 build
bld.SAMBA_MODULE('ldb_ildap', 'ldb_ildap/ldb_ildap.c',
init_function='LDB_BACKEND(ldapi),LDB_BACKEND(ldaps),LDB_BACKEND(ldap)',
deps='talloc LIBCLI_LDAP CREDENTIALS auth_system_session',
aliases='ldb_ldaps ldb_ldapi ldb_ldap',
- internal_module=builtin_ildap,
+ internal_module=False,
subsystem='ldb')
else:
- builtin_ildap = False
# this is not included in the s4 build
bld.SAMBA_MODULE('ldb_ldap', 'ldb_ldap/ldb_ldap.c',
init_function='LDB_BACKEND(ldapi),LDB_BACKEND(ldaps),LDB_BACKEND(ldap)',
deps='talloc lber ldap',
enabled=bld.env.ENABLE_LDAP_BACKEND,
+ internal_module=False,
subsystem='ldb')
# we're not currently linking against the ldap libs, but ldb.pc.in
@@ -102,10 +101,7 @@ def build(bld):
bld.env.PACKAGE_VERSION = VERSION
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
- if builtin_ildap:
- abi_file = 'ABI/ldb-ildap-%s.sigs' % VERSION
- else:
- abi_file = 'ABI/ldb-%s.sigs' % VERSION
+ abi_file = 'ABI/ldb-%s.sigs' % VERSION
bld.SAMBA_SUBSYSTEM('pyldb_util', deps='ldb', source='pyldb_util.c', pyext=True)