From 9f0b2f9503c31daeb6b0b3d97716d0ceee57450f Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 21 Aug 2014 14:34:03 +1000 Subject: [PATCH] ldb: Fix check for third_party Signed-off-by: Amitay Isaacs Reviewed-by: Stefan Metzmacher --- lib/ldb/wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ldb/wscript b/lib/ldb/wscript index be045448711..6d9e8454abd 100755 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -13,7 +13,7 @@ while not os.path.exists(srcdir+'/buildtools') and len(srcdir.split('/')) < 5: srcdir = srcdir + '/..' sys.path.insert(0, srcdir + '/buildtools/wafsamba') -import wafsamba, samba_dist, Options +import wafsamba, samba_dist, Options, Utils samba_dist.DIST_DIRS('''lib/ldb:. lib/replace:lib/replace lib/talloc:lib/talloc lib/tdb:lib/tdb lib/tdb:lib/tdb lib/tevent:lib/tevent @@ -85,7 +85,7 @@ def configure(conf): def build(bld): bld.RECURSE('lib/tevent') - if os.path.exists('third_party'): + if bld.CHECK_FOR_THIRD_PARTY(): bld.RECURSE('third_party/popt') bld.RECURSE('lib/replace') -- 2.34.1