mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
17 lines
345 B
Python
17 lines
345 B
Python
#!/usr/bin/env python
|
|
|
|
import Options
|
|
|
|
def configure(conf):
|
|
if conf.CHECK_BUNDLED_SYSTEM_PKG('subunit', pkg='libsubunit'):
|
|
conf.define('USING_SYSTEM_SUBUNIT', 1)
|
|
|
|
def build(bld):
|
|
if bld.CONFIG_SET('USING_SYSTEM_SUBUNIT'):
|
|
return
|
|
|
|
bld.SAMBA_LIBRARY('subunit',
|
|
source='lib/child.c',
|
|
private_library=True,
|
|
includes='include')
|