1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/lib/cmdline/wscript_build
Andreas Schneider 9c81260499 waf: Make sure we link against samba-util.
libcmdline-credentials.so needs samba_getpass() from libsamba-util.so,
so we need to link against it.

Reviewed-by: Andrew Bartlet <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Feb 14 16:56:29 CET 2013 on sn-devel-104
2013-02-14 16:56:29 +01:00

24 lines
628 B
Python

#!/usr/bin/env python
bld.SAMBA_LIBRARY('cmdline-credentials',
source='credentials.c',
autoproto='credentials.h',
public_deps='samba-credentials popt',
deps='samba-util',
private_library=True)
bld.SAMBA_SUBSYSTEM('POPT_SAMBA',
source='popt_common.c',
public_deps='popt',
header_path='samba',
deps='talloc samba-hostconfig'
)
bld.SAMBA_SUBSYSTEM('POPT_CREDENTIALS',
source='popt_credentials.c',
autoproto='popt_credentials.h',
public_deps='samba-credentials CREDENTIALS_SECRETS cmdline-credentials popt',
deps='samba-util'
)