From: Alexander Bokovoy Date: Wed, 27 Jun 2018 12:03:08 +0000 (+0300) Subject: buildtools/wafsamba: use top and out for waf 2.0 X-Git-Tag: tdb-1.3.17~1794 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb43723bc1f054bb29194b1a569037dd1db71459;p=thirdparty%2Fsamba.git buildtools/wafsamba: use top and out for waf 2.0 Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- 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