summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-07-29 17:01:38 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-08 13:34:06 +0200
commitaf5f494bd2defe598dd8530359a249e0dd5ae20e (patch)
tree5063957ad14730d4f7ba402ba6f6b22c1b154ba3 /lib
parent07840b665f1adc6d821ef4a1aa22ca5cbfd5001c (diff)
downloadsamba-af5f494bd2defe598dd8530359a249e0dd5ae20e.tar.gz
samba-af5f494bd2defe598dd8530359a249e0dd5ae20e.tar.bz2
samba-af5f494bd2defe598dd8530359a249e0dd5ae20e.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/async_req/wscript_build2
-rwxr-xr-xlib/util/wscript_build3
-rw-r--r--lib/wscript_build2
3 files changed, 4 insertions, 3 deletions
diff --git a/lib/async_req/wscript_build b/lib/async_req/wscript_build
index 352861c958..0de58e478b 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 ee963ad971..82af65c010 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 9ce832a2fd..97c3cfa240 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')