summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-08-21 14:34:03 +1000
committerStefan Metzmacher <metze@samba.org>2014-08-21 09:11:06 +0200
commit9f0b2f9503c31daeb6b0b3d97716d0ceee57450f (patch)
treeb2231e4f7543969a6777783ee77a5b4d8941eac1
parent4f105b27b702de996d41976392740be11fd44eaf (diff)
downloadsamba-9f0b2f9503c31daeb6b0b3d97716d0ceee57450f.tar.gz
samba-9f0b2f9503c31daeb6b0b3d97716d0ceee57450f.tar.xz
samba-9f0b2f9503c31daeb6b0b3d97716d0ceee57450f.zip
ldb: Fix check for third_party
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rwxr-xr-xlib/ldb/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index be04544871..6d9e8454ab 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')