wafsamba: Correctly locate the 'third_party' directory
authorAmitay Isaacs <amitay@gmail.com>
Thu, 21 Aug 2014 04:33:42 +0000 (14:33 +1000)
committerStefan Metzmacher <metze@samba.org>
Thu, 21 Aug 2014 07:11:06 +0000 (09:11 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
buildtools/wafsamba/samba_third_party.py

index 36b98cb049a0cf62bb79d091d050e45a6183704c..46a1b9423a6918515fa01332b1016c6cadef9573 100644 (file)
@@ -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