git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56df7cf
)
wafsamba: Add CHECK_CMOCKA function
author
Andreas Schneider
<asn@samba.org>
Fri, 7 Apr 2017 13:44:22 +0000
(15:44 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 10 Apr 2017 05:45:24 +0000
(07:45 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
buildtools/wafsamba/samba_third_party.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_third_party.py
b/buildtools/wafsamba/samba_third_party.py
index 8cfa4df7214b6d82c4acc4b4d3a021d6c136e85b..ac77be74f5ac5050f9aa2466ceb31c59542967e2 100644
(file)
--- 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