1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/lib/pthreadpool/wscript_build

18 lines
570 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
if bld.env.WITH_PTHREADPOOL:
bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
source='pthreadpool.c pthreadpool_pipe.c',
deps='pthread rt replace')
else:
bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
source='pthreadpool_sync.c pthreadpool_pipe.c',
deps='replace')
bld.SAMBA3_BINARY('pthreadpooltest',
source='tests.c',
deps='PTHREADPOOL',
enabled=bld.env.WITH_PTHREADPOOL,
install=False)