mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
wafsamba: Add CHECK_CMOCKA function
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
This commit is contained in:
parent
56df7cf3d9
commit
686ac6b171
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user