mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib/util: Build genrand for util core
messages_dgm depends on genrand. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
e595d2a1fd
commit
a59fd8164c
@ -145,6 +145,10 @@ def configure(conf):
|
||||
conf.SAMBA_CHECK_PYTHON()
|
||||
conf.SAMBA_CHECK_PYTHON_HEADERS()
|
||||
|
||||
# We just want gnutls_rnd for rand subsystem
|
||||
conf.CHECK_FUNCS_IN('gnutls_rnd', 'gnutls')
|
||||
|
||||
|
||||
if conf.CHECK_FOR_THIRD_PARTY():
|
||||
conf.RECURSE('third_party/popt')
|
||||
if conf.env.standalone_ctdb or conf.CONFIG_GET('ENABLE_SELFTEST'):
|
||||
|
@ -97,6 +97,12 @@ bld.SAMBA_LIBRARY('msghdr',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
||||
bld.SAMBA_LIBRARY('genrand',
|
||||
source='genrand.c',
|
||||
deps='replace gnutls',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
||||
if bld.env.SAMBA_UTIL_CORE_ONLY:
|
||||
|
||||
bld.SAMBA_LIBRARY('tevent-util',
|
||||
@ -109,12 +115,6 @@ else:
|
||||
|
||||
bld.env.public_headers_skip.append('charset_compat.h')
|
||||
|
||||
bld.SAMBA_LIBRARY('genrand',
|
||||
source='genrand.c',
|
||||
deps='replace gnutls',
|
||||
local_include=False,
|
||||
private_library=True)
|
||||
|
||||
bld.SAMBA_BINARY('genrandperf',
|
||||
source='tests/genrandperf.c',
|
||||
deps='genrand replace',
|
||||
|
Loading…
Reference in New Issue
Block a user