1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

20 lines
450 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
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)