blob: 9ebdd7cfbe9a5a8a9097142754ddeec22d2ffb44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/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)
|