mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
20 lines
462 B
Python
20 lines
462 B
Python
#!/usr/bin/env python
|
|
|
|
from waflib import Options
|
|
|
|
def configure(conf):
|
|
conf.CHECK_FUNCS('longjmp siglongjmp')
|
|
|
|
if conf.CHECK_CMOCKA():
|
|
conf.define('USING_SYSTEM_CMOCKA', 1)
|
|
|
|
def build(bld):
|
|
if bld.CONFIG_SET('USING_SYSTEM_CMOCKA'):
|
|
return
|
|
|
|
bld.SAMBA_LIBRARY('cmocka',
|
|
source='cmocka.c',
|
|
deps='rt',
|
|
allow_warnings=True,
|
|
private_library=True)
|