summaryrefslogtreecommitdiff
path: root/source3/winbindd/wscript_build
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-09-13 20:29:25 +0300
committerAlexander Bokovoy <ab@samba.org>2012-09-14 01:02:21 +0200
commit86a4ca28649141f77556208b833db2e076c0125d (patch)
tree2e4c48d3badfa0a4afb48a2f9bcbccee25ded2e3 /source3/winbindd/wscript_build
parent56b752512597acaffa94a979ef9140760e0f5cf3 (diff)
downloadsamba-86a4ca28649141f77556208b833db2e076c0125d.tar.gz
samba-86a4ca28649141f77556208b833db2e076c0125d.tar.bz2
samba-86a4ca28649141f77556208b833db2e076c0125d.zip
s3: make smbldaphelper subsystem an internal library
Break pdb_ldap -> smbldaphelper -> pdb -> pdb_ldap loop by making smbldaphelp intentionally underlinked internal library. It means that libsmbldaphelp is not usable unless its user is also linked to libpdb (that is the case for both its users, idmap_ldap and pdb_ldap, already) but gives us a break of the circular dependency in case pdb_ldap statically linked into pdb (default). This should solve case when idmap_ldap and pdb_ldap are dynamically loaded modules Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Sep 14 01:02:21 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/winbindd/wscript_build')
-rw-r--r--source3/winbindd/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wscript_build b/source3/winbindd/wscript_build
index af3741b0b9..302b9ee6a3 100644
--- a/source3/winbindd/wscript_build
+++ b/source3/winbindd/wscript_build
@@ -62,7 +62,7 @@ bld.SAMBA3_MODULE('idmap_passdb',
bld.SAMBA3_MODULE('idmap_ldap',
subsystem='idmap',
source=IDMAP_LDAP_SRC,
- deps='smbldap smbldaphelper',
+ deps='smbldap smbldaphelper pdb',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('idmap_ldap'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('idmap_ldap') and bld.env.HAVE_LDAP)