diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-11-12 16:36:39 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-11-13 18:06:06 +0100 |
commit | c5260788067a3fe1e2f10120e99a16e7cd28bac9 (patch) | |
tree | 13bd840103a3ab2fa920445e2eb5c1c957bde4ad | |
parent | b929cd2c096d4184bec193dd762acdf4710a7d2c (diff) | |
download | samba-c5260788067a3fe1e2f10120e99a16e7cd28bac9.tar.gz samba-c5260788067a3fe1e2f10120e99a16e7cd28bac9.tar.bz2 samba-c5260788067a3fe1e2f10120e99a16e7cd28bac9.zip |
ldb: Only check for pkg-config file when checking for system ldb.
-rwxr-xr-x | lib/ldb/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript index 0437383419..a3af27515c 100755 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -50,11 +50,11 @@ def configure(conf): conf.env.standalone_ldb = conf.IN_LAUNCH_DIR() if not conf.env.standalone_ldb: - if conf.CHECK_BUNDLED_SYSTEM('ldb', minversion=VERSION, + if conf.CHECK_BUNDLED_SYSTEM_PKG('ldb', minversion=VERSION, onlyif='talloc tdb tevent', implied_deps='replace talloc tdb tevent'): conf.define('USING_SYSTEM_LDB', 1) - if conf.CHECK_BUNDLED_SYSTEM('pyldb-util', minversion=VERSION, + if conf.CHECK_BUNDLED_SYSTEM_PKG('pyldb-util', minversion=VERSION, onlyif='talloc tdb tevent ldb', implied_deps='replace talloc tdb tevent ldb'): conf.define('USING_SYSTEM_PYLDB_UTIL', 1) |