summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_third_party.py
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-08-21 14:33:42 +1000
committerStefan Metzmacher <metze@samba.org>2014-08-21 09:11:06 +0200
commit4f105b27b702de996d41976392740be11fd44eaf (patch)
treefdb490ef2a39e2946de2083efa91c334ab75ff77 /buildtools/wafsamba/samba_third_party.py
parente4118730d1eb84959e10f4ce4995ce75d0ba7365 (diff)
downloadsamba-4f105b27b702de996d41976392740be11fd44eaf.tar.gz
wafsamba: Correctly locate the 'third_party' directory
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'buildtools/wafsamba/samba_third_party.py')
-rw-r--r--buildtools/wafsamba/samba_third_party.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_third_party.py b/buildtools/wafsamba/samba_third_party.py
index 36b98cb049a..46a1b9423a6 100644
--- a/buildtools/wafsamba/samba_third_party.py
+++ b/buildtools/wafsamba/samba_third_party.py
@@ -6,7 +6,7 @@ from samba_bundled import *
@conf
def CHECK_FOR_THIRD_PARTY(conf):
- return os.path.exists('third_party')
+ return os.path.exists(os.path.join(Utils.g_module.srcdir, 'third_party'))
Build.BuildContext.CHECK_FOR_THIRD_PARTY = CHECK_FOR_THIRD_PARTY