mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
lib/util: Build iov_buf library only when building samba
lib/util can be built with SAMBA_UTIL_CORE_ONLY for building standalone ctdb. Any new libraries if not required by ctdb should be built only when SAMBA_UTIL_CORE_ONLY is not specified. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Fri Feb 27 09:06:01 CET 2015 on sn-devel-104
This commit is contained in:
parent
9750eb7bab
commit
d76f800a0e
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Please add any new SAMBA_SUBSYSTEM/SAMBA_LIBRARY to the bottom of the file
|
||||
# unless they are also required to build standalone ctdb.
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('time-basic',
|
||||
source='time_basic.c',
|
||||
deps='replace',
|
||||
@ -36,11 +39,6 @@ bld.SAMBA_LIBRARY('socket-blocking',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
||||
bld.SAMBA_LIBRARY('iov_buf',
|
||||
source='iov_buf.c',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('samba-util-core',
|
||||
source='''xfile.c data_blob.c util_file.c time.c
|
||||
signal.c util.c idtree.c fault.c
|
||||
@ -156,3 +154,8 @@ if not bld.env.SAMBA_UTIL_CORE_ONLY:
|
||||
deps='talloc tdb strv util_tdb tdb-wrap samba-util',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
||||
bld.SAMBA_LIBRARY('iov_buf',
|
||||
source='iov_buf.c',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user