From fb43723bc1f054bb29194b1a569037dd1db71459 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 27 Jun 2018 15:03:08 +0300 Subject: [PATCH] buildtools/wafsamba: use top and out for waf 2.0 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- buildtools/wafsamba/samba_third_party.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/wafsamba/samba_third_party.py b/buildtools/wafsamba/samba_third_party.py index 0ababa56065..f86d38710c4 100644 --- a/buildtools/wafsamba/samba_third_party.py +++ b/buildtools/wafsamba/samba_third_party.py @@ -6,7 +6,7 @@ from waflib.Configure import conf @conf def CHECK_FOR_THIRD_PARTY(conf): - return os.path.exists(os.path.join(Context.g_module.srcdir, 'third_party')) + return os.path.exists(os.path.join(Context.g_module.top, 'third_party')) Build.BuildContext.CHECK_FOR_THIRD_PARTY = CHECK_FOR_THIRD_PARTY