1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

lib/util: Create a new library for tevent_unix.c

This is required for ctdb.  This avoids adding dependency on wstatus
and ntstatus to ctdb build.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2015-09-08 10:34:21 +10:00 committed by Amitay Isaacs
parent 9c16fe43fc
commit 670db6ac1d

View File

@ -69,6 +69,15 @@ bld.SAMBA_SUBSYSTEM('samba-util-core',
tevent execinfo pthread''',
local_include=False)
bld.SAMBA_LIBRARY('tevent-unix-util',
source='tevent_unix.c',
local_include=False,
deps='tevent',
public_headers='tevent_unix.h',
header_path=[ ('*', 'util') ],
pc_files=[],
vnum='0.0.1')
if not bld.env.SAMBA_UTIL_CORE_ONLY:
bld.env.public_headers_skip.append('charset_compat.h')
@ -127,10 +136,10 @@ if not bld.env.SAMBA_UTIL_CORE_ONLY:
)
bld.SAMBA_LIBRARY('tevent-util',
source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
source='tevent_ntstatus.c tevent_werror.c',
local_include=False,
public_deps='tevent errors',
public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
public_deps='tevent errors tevent-unix-util',
public_headers='tevent_ntstatus.h tevent_werror.h',
header_path=[ ('*', 'util') ],
pc_files=[],
vnum='0.0.1'