lib/util: Avoid splitting tevent-unix-util as public library
authorAmitay Isaacs <amitay@gmail.com>
Thu, 2 Jun 2016 07:17:19 +0000 (17:17 +1000)
committerVolker Lendecke <vl@samba.org>
Mon, 6 Jun 2016 10:26:19 +0000 (12:26 +0200)
commit2082c0c3b5b62286d111d91c56541710ecc0ffa1
tree616c42d2ad7eeb7c779aa0f1042aa9e68a537361
parent4d26210806419ef5710f38d0fa478e9f52243484
lib/util: Avoid splitting tevent-unix-util as public library

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11946

Commit 670db6ac1d678babd25dd82c4467c0f094cfabc5 split tevent-util public
library to create tevent-unix-util public library for standalone ctdb
use.  This created a public library dependency between samba and ctdb
for packaging.

Bundle tevent_unix.c in public library tevent-util as before.  However,
to avoid the dependencies for packaging, standalone ctdb build will
build tevent-util as a private library with only tevent_unix.c

This simplifies any new subsystems (or libraries) which need tevent-util
and are linked in both samba and ctdb.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/wscript
lib/util/wscript_build