From 686ac6b17124eea6aadd8b067bcac89cd8b9686a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 7 Apr 2017 15:44:22 +0200 Subject: wafsamba: Add CHECK_CMOCKA function Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlet --- buildtools/wafsamba/samba_third_party.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_third_party.py b/buildtools/wafsamba/samba_third_party.py index 8cfa4df7214..ac77be74f5a 100644 --- a/buildtools/wafsamba/samba_third_party.py +++ b/buildtools/wafsamba/samba_third_party.py @@ -33,3 +33,9 @@ def CHECK_POPT(conf): return conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h') Build.BuildContext.CHECK_POPT = CHECK_POPT + +@conf +def CHECK_CMOCKA(conf): + return conf.CHECK_BUNDLED_SYSTEM_PKG('cmocka', minversion='1.1.1') + +Build.BuildContext.CHECK_CMOCKA = CHECK_CMOCKA -- cgit v1.2.1