summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-06-23 10:40:33 +0200
committerJeremy Allison <jra@samba.org>2015-06-23 22:12:08 +0200
commita08dee14aa28b6fccd1512d3ca95282d202ab8e5 (patch)
treec8d8221e4ffad5ff28ac2087b4f38521279f5073 /lib/util/wscript_build
parent30bfb8d63804f0c98312fadaadcb104120dadafb (diff)
downloadsamba-a08dee14aa28b6fccd1512d3ca95282d202ab8e5.tar.gz
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 <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/wscript_build')
-rwxr-xr-xlib/util/wscript_build9
1 files 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',