From a08dee14aa28b6fccd1512d3ca95282d202ab8e5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 23 Jun 2015 10:40:33 +0200 Subject: [PATCH] lib: Make time-basic a library The next commit will make genrand depend on time-basic. Without this, we would link in time-basic twice, from samba-debug and from genrand. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- lib/util/wscript_build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/util/wscript_build b/lib/util/wscript_build index b95108a1082..a1287b7e0b7 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -3,10 +3,11 @@ # 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', - local_include=False) +bld.SAMBA_LIBRARY('time-basic', + source='time_basic.c', + deps='replace', + private_library=True, + local_include=False) bld.SAMBA_SUBSYSTEM('tini', source='tini.c', -- 2.11.4.GIT