From af5f494bd2defe598dd8530359a249e0dd5ae20e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 29 Jul 2011 17:01:38 +1000 Subject: build: provide tevent-util as a public library This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett --- lib/async_req/wscript_build | 2 +- lib/util/wscript_build | 3 ++- lib/wscript_build | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/async_req/wscript_build b/lib/async_req/wscript_build index 352861c9589..0de58e478b8 100644 --- a/lib/async_req/wscript_build +++ b/lib/async_req/wscript_build @@ -4,6 +4,6 @@ bld.SAMBA_SUBSYSTEM('LIBASYNC_REQ', source='async_sock.c', public_deps='talloc tevent', - deps='UTIL_TEVENT' + deps='tevent-util' ) diff --git a/lib/util/wscript_build b/lib/util/wscript_build index ee963ad971b..82af65c0101 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -48,12 +48,13 @@ bld.SAMBA_LIBRARY('UTIL_TDB', private_library=True ) -bld.SAMBA_SUBSYSTEM('UTIL_TEVENT', +bld.SAMBA_LIBRARY('tevent-util', source='tevent_unix.c tevent_ntstatus.c tevent_werror.c', local_include=False, public_deps='tevent', public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h', header_path=[ ('*', 'util') ], + vnum='0.0.1' ) diff --git a/lib/wscript_build b/lib/wscript_build index 9ce832a2fd1..97c3cfa2404 100644 --- a/lib/wscript_build +++ b/lib/wscript_build @@ -31,4 +31,4 @@ bld.SAMBA_LIBRARY('samba-sockets', source=[], private_library=True, grouping_library=True, - deps='LIBTSOCKET samba_socket UTIL_TEVENT') + deps='LIBTSOCKET samba_socket tevent-util') -- cgit v1.2.1