mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
adjust ldb config for py3 build
waf code is making assumptions that main build is py2 and extra build is py3, this results in wrong library names being used. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a7cb10e4b4
commit
447276e297
@ -84,7 +84,8 @@ def configure(conf):
|
||||
conf.define('USING_SYSTEM_LDB', 1)
|
||||
else:
|
||||
using_system_pyldb_util = True
|
||||
if not conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util',
|
||||
dflt_name = 'pyldb-util' + conf.all_envs['default']['PYTHON_SO_ABI_FLAG']
|
||||
if not conf.CHECK_BUNDLED_SYSTEM_PKG(dflt_name,
|
||||
minversion=VERSION,
|
||||
maxversion=max_ldb_version_dots,
|
||||
onlyif='talloc tdb tevent',
|
||||
@ -108,7 +109,7 @@ def configure(conf):
|
||||
if conf.CHECK_BUNDLED_SYSTEM_PKG('ldb',
|
||||
minversion=VERSION,
|
||||
maxversion=max_ldb_version_dots,
|
||||
onlyif='talloc tdb tevent pyldb-util',
|
||||
onlyif='talloc tdb tevent %s' % dflt_name,
|
||||
implied_deps='replace talloc tdb tevent'):
|
||||
conf.define('USING_SYSTEM_LDB', 1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user